From 95f94bb5f4378ec66ff79dfeff836e7898b4f36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 13 May 2023 06:42:18 +0100 Subject: [PATCH] Obsolete python2 only < %{version} --- opencv.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opencv.spec b/opencv.spec index 45b120d..248c769 100644 --- a/opencv.spec +++ b/opencv.spec @@ -215,7 +215,7 @@ and Computer Vision algorithms. %package core Summary: OpenCV core libraries Provides: bundled(quirc) = 1.0 -Obsoletes: python2-%{name} < %{version}-%{release} +Obsoletes: python2-%{name} < %{version} %description core This package contains the OpenCV C/C++ core libraries. @@ -520,6 +520,7 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope * Sat May 13 2023 Sérgio Basto - 4.7.0-7 - Install python egg-info - Fix patch warning +- Obsolete python2 < %{version} (if someone want use an external python2 version} * Thu May 11 2023 Sandro Mani - 4.7.0-6 - Rebuild (gdal)