Drop unused BR on SFML and disable VTK support on RHEL 8+

epel9
Tomas Popela 4 years ago
parent 33789082e3
commit 1f613a5952

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

Loading…
Cancel
Save