diff --git a/opencv.spec b/opencv.spec index d874e8f..03673ef 100644 --- a/opencv.spec +++ b/opencv.spec @@ -20,7 +20,11 @@ %bcond_with atlas %bcond_without openblas %bcond_without gdcm +%if 0%{?rhel} >= 8 +%bcond_with vtk +%else %bcond_without vtk +%endif %ifarch x86_64 %bcond_without libmfx @@ -41,7 +45,7 @@ Name: opencv Version: 4.5.1 %global javaver %(foo=%{version}; echo ${foo//./}) %global abiver %(foo=%{version}; echo ${foo:0:3}) -Release: 3%{?dist} +Release: 4%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -121,7 +125,6 @@ BuildRequires: python3-beautifulsoup4 #for doc/doxygen/bib2xhtml.pl #BuildRequires: perl-open BuildRequires: gflags-devel -BuildRequires: SFML-devel BuildRequires: libucil-devel BuildRequires: qt5-qtbase-devel BuildRequires: libGL-devel @@ -459,6 +462,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %{_libdir}/libopencv_xphoto.so.%{abiver}* %changelog +* Wed Jan 27 2021 Tomas Popela - 4.5.1-4 +- Drop unused BR on SFML and disable VTK support on RHEL 8+ + * Tue Jan 26 2021 Fedora Release Engineering - 4.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild