[packages/opencv] - use patch -P

baggins baggins at pld-linux.org
Tue Mar 11 14:35:36 CET 2025


commit d6122b1fbea99a2021356a35c02b03a506d87c42
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 11 13:49:49 2025 +0100

    - use patch -P

 opencv.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/opencv.spec b/opencv.spec
index 7db6e45..13a62f3 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -158,10 +158,10 @@ BuildRequires:	libtool
 BuildRequires:	libucil-devel
 BuildRequires:	libunicap-devel
 %endif
+BuildRequires:	hdf5-devel
 BuildRequires:	libv4l-devel
 BuildRequires:	ogre-devel
 BuildRequires:	pkgconfig
-BuildRequires:	hdf5-devel
 BuildRequires:	protobuf-devel
 BuildRequires:	python >= 1:2.7
 BuildRequires:	python-devel >= 1:2.7
@@ -346,9 +346,9 @@ Wiązania Pythona 3 do OpenCV.
 
 %undos CMakeLists.txt
 
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
 
 cache_file() {
 	f="$1"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/d6122b1fbea99a2021356a35c02b03a506d87c42



More information about the pld-cvs-commit mailing list