From a6e60893e4ec55c8bb5e9b17cd61a4284b7a97f6 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 29 Jul 2025 12:17:54 +0200 Subject: [PATCH 1/2] Rebuilt for gdal - rhbz#2383114 --- opencv.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opencv.spec b/opencv.spec index 5e674c6..0073bfc 100644 --- a/opencv.spec +++ b/opencv.spec @@ -69,7 +69,7 @@ Version: 4.6.0 %global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} ) %global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} ) %global abiver %(echo %{majorver}%{padding}%{minorver} ) -Release: 7%{?dist} +Release: 8%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -514,6 +514,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}} %changelog +* Tue Jul 29 2025 Nicolas Chauvet +- Rebuilt for gdal - rhbz#2383114 + * Wed Sep 28 2022 Tom Rix - 4.6.0-7 - Remove Unicap From a5ff02ed9729295c4e5bc563bd175abe1bbea0ff Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 29 Jul 2025 12:24:20 +0200 Subject: [PATCH 2/2] Fixup patch macro --- opencv.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opencv.spec b/opencv.spec index 0073bfc..eb23abc 100644 --- a/opencv.spec +++ b/opencv.spec @@ -281,8 +281,8 @@ shopt -u extglob popd &>/dev/null %endif -%patch0 -p1 -b .install_3rdparty_licenses -%patch3 -p1 -b .python_install_binary +%patch -P 0 -p1 -b .install_3rdparty_licenses +%patch -P 3 -p1 -b .python_install_binary pushd %{name}_contrib-%{version} #patch1 -p1 -b .install_cvv