|
|
|
@ -34,7 +34,12 @@
|
|
|
|
|
%bcond_with libmfx
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_without clp
|
|
|
|
|
%ifarch %{java_arches}
|
|
|
|
|
%bcond_without java
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with java
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%bcond_without vulkan
|
|
|
|
|
|
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
@ -54,7 +59,7 @@ Version: 4.6.0
|
|
|
|
|
%global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} )
|
|
|
|
|
%global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} )
|
|
|
|
|
%global abiver %(echo %{majorver}%{padding}%{minorver} )
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Collection of algorithms for computer vision
|
|
|
|
|
# This is normal three clause BSD.
|
|
|
|
|
License: BSD
|
|
|
|
@ -487,6 +492,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
|
|
|
|
|
%{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 06 2022 Sérgio Basto <sergio@serjux.com> - 4.6.0-3
|
|
|
|
|
- (#2104082) only build Java sub package on arches that java is supported
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2022 Sérgio Basto <sergio@serjux.com> - 4.6.0-2
|
|
|
|
|
- Rebuilt for Python 3.11 (is just arrived to rawhide)
|
|
|
|
|
|
|
|
|
|