diff --git a/opencv.spec b/opencv.spec index b0d2a62..836b9f0 100644 --- a/opencv.spec +++ b/opencv.spec @@ -59,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: 5%{?dist} +Release: 6%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -151,7 +151,12 @@ BuildRequires: hdf5-devel BuildRequires: openjpeg2-devel # Module opencv_ovis disabled because of incompatible OGRE3D version < 1.10 # BuildRequires: ogre-devel -%{?with_vtk:BuildRequires: vtk-devel vtk-java} +%{?with_vtk:BuildRequires: vtk-devel} +%{?with_vtk: + %{?with_java: +BuildRequires: vtk-java + } +} %{?with_atlas:BuildRequires: atlas-devel} #ceres-solver-devel push eigen3-devel and tbb-devel %{?with_tbb: @@ -492,6 +497,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}} %changelog +* Fri Jul 29 2022 Mamoru TASAKA - 4.6.0-6 +- BR vte-java only on %%java_arches + * Fri Jul 22 2022 Fedora Release Engineering - 4.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild