[packages/galternatives] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 23:38:58 CEST 2025


commit 7576eec657a4f4b484e2790c8336381ccdab1c26
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 23:38:42 2025 +0200

    Fix applying patches.

 galternatives.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/galternatives.spec b/galternatives.spec
index d41ecc3..39faf3f 100644
--- a/galternatives.spec
+++ b/galternatives.spec
@@ -35,8 +35,8 @@ service
 %prep
 %setup -qc
 mv galternatives .tmp; mv .tmp/* .
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 # To silence rpmlint
 sed -i '/^#!\%{_prefix}\/bin\/python/ d' galternatives/*.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/galternatives.git/commitdiff/7576eec657a4f4b484e2790c8336381ccdab1c26



More information about the pld-cvs-commit mailing list