Obsoletes opencv until fixed
This commit is contained in:
parent
b5b3e20dbe
commit
4ecb05d105
@ -1,3 +1,7 @@
|
|||||||
|
%if 0%{?fedora} && 0%{?fedora} < 32
|
||||||
|
%global _with_opencv 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: frei0r-plugins
|
Name: frei0r-plugins
|
||||||
Version: 1.7.0
|
Version: 1.7.0
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
@ -13,8 +17,11 @@ Buildrequires: libtool
|
|||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gavl-devel >= 0.2.3
|
BuildRequires: gavl-devel >= 0.2.3
|
||||||
%if 0%{?fedora} && 0%{?fedora} < 32
|
%if 0%{?_with_opencv}
|
||||||
BuildRequires: opencv-devel >= 1.0.0
|
BuildRequires: opencv-devel >= 1.0.0
|
||||||
|
%else
|
||||||
|
# Obsoletes introduced in f32
|
||||||
|
Obsoletes: frei0r-plugins-opencv < 1.7.0-3
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cairo-devel >= 1.0.0
|
BuildRequires: cairo-devel >= 1.0.0
|
||||||
|
|
||||||
@ -65,9 +72,11 @@ rm -rf %{buildroot}%{_docdir}/%{name}
|
|||||||
%exclude %{_libdir}/frei0r-1/facedetect.so
|
%exclude %{_libdir}/frei0r-1/facedetect.so
|
||||||
%{_libdir}/frei0r-1/*.so
|
%{_libdir}/frei0r-1/*.so
|
||||||
|
|
||||||
|
%if 0%{?_with_opencv}
|
||||||
%files opencv
|
%files opencv
|
||||||
%{_libdir}/frei0r-1/facebl0r.so
|
%{_libdir}/frei0r-1/facebl0r.so
|
||||||
%{_libdir}/frei0r-1/facedetect.so
|
%{_libdir}/frei0r-1/facedetect.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n frei0r-devel
|
%files -n frei0r-devel
|
||||||
%{_includedir}/frei0r.h
|
%{_includedir}/frei0r.h
|
||||||
|
Loading…
Reference in New Issue
Block a user