From a81f14f90ae3a8c44c0ef4fef27936cc76076bf9 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 29 Jul 2022 01:01:49 +0900 Subject: [PATCH] BR vte-java only on %java_arches --- opencv.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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