automatic version update by autodist [release 4.7.0-1mamba;Fri Dec 30 2022]
This commit is contained in:
parent
0d4502d949
commit
61adedfe95
10
opencv.spec
10
opencv.spec
@ -1,7 +1,7 @@
|
||||
%define pkgver %(echo %version | sed "s|[a-z]||")
|
||||
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
|
||||
Name: opencv
|
||||
Version: 4.6.0
|
||||
Version: 4.7.0
|
||||
Release: 1mamba
|
||||
Summary: Collection of algorithms for computer vision
|
||||
Group: Development/Libraries
|
||||
@ -102,8 +102,6 @@ This package contains Python bindings for the OpenCV library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
|
||||
%ifarch %{ix86}
|
||||
%patch2 -p1
|
||||
@ -112,7 +110,6 @@ This package contains Python bindings for the OpenCV library.
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
export JAVA_HOME=%{_jvmdir}/jdk
|
||||
export JAVACMD=%{_jvmdir}/jdk/bin/java
|
||||
#:<< _EOF
|
||||
@ -188,12 +185,10 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
|
||||
%dir %{_datadir}/licenses/opencv4
|
||||
%{_datadir}/licenses/opencv4/*
|
||||
|
||||
%ifnarch arm
|
||||
%files -n java-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/java/opencv4/libopencv_java*.so
|
||||
%{_datadir}/java/opencv4/opencv-*.jar
|
||||
%endif
|
||||
|
||||
%files -n python-cv
|
||||
%defattr(-,root,root)
|
||||
@ -206,6 +201,9 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
|
||||
%{python3_sitelib}/cv2/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 30 2022 Automatic Build System <autodist@mambasoft.it> 4.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jun 07 2022 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user