public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Subpackage python2-opencv has been removed
Date: Fri, 28 Aug 2026 13:31:03 GMT	[thread overview]
Message-ID: <178792386348.1.1714758236320587601.rpms-opencv-6bc0464efe1d@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-28 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792386348.1.1714758236320587601.rpms-opencv-6bc0464efe1d@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox