[packages/python-PIL] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:30:20 CEST 2025
commit cbf9de2ddf5a0aea8a8d48972ff465dfeb88ab01
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:30:04 2025 +0200
Fix applying patches.
python-PIL.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-PIL.spec b/python-PIL.spec
index e63ab32..f7538d1 100644
--- a/python-PIL.spec
+++ b/python-PIL.spec
@@ -97,11 +97,11 @@ Pliki nagłówkowe do biblioteki obróbki obrazu w Pythonie.
%prep
%setup -q -n Imaging-%{version}
%if %{_lib} == "lib64"
-%patch0 -p1
+%patch -P0 -p1
%endif
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
# fix the interpreter path for Scripts/*.py
sed -i -e "s|/usr/local/bin/python|%{_bindir}/python|" Scripts/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PIL.git/commitdiff/cbf9de2ddf5a0aea8a8d48972ff465dfeb88ab01
More information about the pld-cvs-commit
mailing list