[packages/python-rpm-packaging] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:32:46 CEST 2025
commit 10a3317f2d1d0cb50076e6b025d70a6095b990ef
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:32:30 2025 +0200
Fix applying patches.
python-rpm-packaging.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-rpm-packaging.spec b/python-rpm-packaging.spec
index 686ab9d..c11a20f 100644
--- a/python-rpm-packaging.spec
+++ b/python-rpm-packaging.spec
@@ -35,8 +35,8 @@ Pythonie.
%prep
%setup -q -c
%{__mv} %{name}-%{gitcommit}*/* .
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
%{__sed} -i -e '1s,/usr/bin/python,%{__python3},' scripts/pythondistdeps.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-rpm-packaging.git/commitdiff/10a3317f2d1d0cb50076e6b025d70a6095b990ef
More information about the pld-cvs-commit
mailing list