public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Python 2 binary package renamed to python2-opencv
@ 2026-08-28 13:30 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : a23516bd62ea1e290a21f8d633d63b7fbf88f2d9
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date   : 2017-08-19T09:39:03-04:00
Stats  : +12/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/a23516bd62ea1e290a21f8d633d63b7fbf88f2d9?branch=opencv5

Log:
Python 2 binary package renamed to python2-opencv

---
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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 3.2.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:30 [rpms/opencv] opencv5: Python 2 binary package renamed to python2-opencv 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox