[packages/python-PyQt4] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 02:31:48 CEST 2025


commit 162b3639ee0b6080c47190a1af68fb6def35c5ef
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 02:31:32 2025 +0200

    Fix applying patches.

 python-PyQt4.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-PyQt4.spec b/python-PyQt4.spec
index 500a343..0d1a1dd 100644
--- a/python-PyQt4.spec
+++ b/python-PyQt4.spec
@@ -218,8 +218,8 @@ kodu wykorzystującego PyQt4.
 # small hack to build for shared libs - symbol QT_SHARED not defined anymore?
 %{__sed} -i 's/qt_shared = lines\[.*\]/qt_shared = "y"/' configure.py
 %{__sed} -i 's/resp = sys.stdin.readline.*/resp = "yes"/' configure.py
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 find examples -name '*.py' | xargs %{__sed} -i -e '1s,/usr/bin/env python,%{__python},'
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt4.git/commitdiff/162b3639ee0b6080c47190a1af68fb6def35c5ef



More information about the pld-cvs-commit mailing list