public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Subpackage python2-opencv has been removed
@ 2026-08-28 13:31
0 siblings, 0 replies; only message in thread
From: @ 2026-08-28 13:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 6bc0464efe1d43f05f0da40205a80ce96582c30d
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-01-15T12:38:32+01:00
Stats : +9/-27 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/6bc0464efe1d43f05f0da40205a80ce96582c30d?branch=opencv5
Log:
Subpackage python2-opencv has been removed
---
diff --git a/opencv.spec b/opencv.spec
index f9567c4..5b12aa2 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -52,7 +52,7 @@
Name: opencv
Version: 3.4.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@@ -101,10 +101,8 @@ BuildRequires: openni-primesense
%{?with_tbb:
BuildRequires: tbb-devel
}
-BuildRequires: zlib-devel pkgconfig
-BuildRequires: python2-devel
-BuildRequires: python2-flake8
-BuildRequires: python2-numpy
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-flake8
BuildRequires: python3-numpy
@@ -125,7 +123,6 @@ BuildRequires: protobuf-devel
BuildRequires: gdal-devel
BuildRequires: glog-devel
BuildRequires: doxygen
-BuildRequires: python2-beautifulsoup4
#for doc/doxygen/bib2xhtml.pl
BuildRequires: perl-open
BuildRequires: gflags-devel
@@ -194,29 +191,11 @@ Obsoletes: %{name}-devel-docs < %{version}-%{release}
This package contains the OpenCV documentation, samples and examples programs.
-%package -n python2-opencv
-Summary: Python2 bindings for apps which use OpenCV
-Requires: opencv%{_isa} = %{version}-%{release}
-Requires: python2-numpy
-%{?python_provide:%python_provide python2-%{srcname}}
-# Remove before F30
-Provides: %{name}-python = %{version}-%{release}
-Provides: %{name}-python%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python < %{version}-%{release}
-
-%description -n python2-opencv
-This package contains Python bindings for the OpenCV library.
-
-
%package -n python3-opencv
Summary: Python3 bindings for apps which use OpenCV
Requires: opencv%{_isa} = %{version}-%{release}
Requires: python3-numpy
%{?python_provide:%python_provide python3-%{srcname}}
-# Remove before F30
-Provides: %{name}-python3 = %{version}-%{release}
-Provides: %{name}-python3%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python3 < %{version}-%{release}
%description -n python3-opencv
This package contains Python3 bindings for the OpenCV library.
@@ -287,6 +266,8 @@ pushd build
-DBUILD_EXAMPLES=ON \
-DINSTALL_C_EXAMPLES=ON \
-DINSTALL_PYTHON_EXAMPLES=ON \
+ -DPYTHON2_EXECUTABLE=false \
+ -DPYTHON3_EXECUTABLE=%{__python3} \
-DENABLE_PYLINT=ON \
-DBUILD_PROTOBUF=OFF \
-DPROTOBUF_UPDATE_FILES=ON \
@@ -379,9 +360,6 @@ popd
%{_datadir}/OpenCV/samples
%{_datadir}/OpenCV/doc
-%files -n python2-opencv
-%{python2_sitearch}/cv2.so
-
%files -n python3-opencv
%{_bindir}/setup_vars_opencv3.sh
%{python3_sitearch}/cv2.cpython-3*.so
@@ -419,6 +397,10 @@ popd
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
+* Tue Jan 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.4-3
+- Subpackage python2-opencv has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Mon Dec 03 2018 Sérgio Basto <sergio@serjux.com> - 3.4.4-2
- Add the correct and upstreamed fix for support_YV12_too, pull request 13351
which is merged
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:31 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:31 [rpms/opencv] opencv5: Subpackage python2-opencv has been removed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox