From a23516bd62ea1e290a21f8d633d63b7fbf88f2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:39:03 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-opencv --- opencv.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/opencv.spec b/opencv.spec index 8bb32ca..cef0dfc 100644 --- a/opencv.spec +++ b/opencv.spec @@ -21,7 +21,7 @@ Name: opencv Version: 3.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Collection of algorithms for computer vision Group: Development/Libraries # This is normal three clause BSD. @@ -160,14 +160,18 @@ BuildArch: noarch %description devel-docs This package contains the OpenCV documentation and examples programs. -%package python +%package -n python2-opencv +%{?python_provide:%python_provide python2-opencv} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for apps which use OpenCV Group: Development/Libraries Requires: opencv%{_isa} = %{version}-%{release} Requires: numpy %{?python_provide:%python_provide python2-%{srcname}} -%description python +%description -n python2-opencv This package contains Python bindings for the OpenCV library. %package python3 @@ -337,7 +341,7 @@ popd %files devel-docs %doc %{_datadir}/OpenCV/samples -%files python +%files -n python2-opencv %{python2_sitearch}/cv2.so %files python3 @@ -376,6 +380,10 @@ popd %{_libdir}/libopencv_xphoto.so.%{abiver}* %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.2.0-6 +- Python 2 binary package renamed to python2-opencv + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild