[packages/gem2rpm] Fix applying patches.
arekm
arekm at pld-linux.org
Mon Jul 14 23:41:55 CEST 2025
commit 65ee30fe716b474953cf1214f794d4d0c7a4a01e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 23:41:39 2025 +0200
Fix applying patches.
gem2rpm.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gem2rpm.spec b/gem2rpm.spec
index 8468a0e..1c8e8c8 100644
--- a/gem2rpm.spec
+++ b/gem2rpm.spec
@@ -42,9 +42,9 @@ Documentation for %{name}.
%prep
%setup -q
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
cp -p %{SOURCE2} templates
# cleanup backups after patching
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gem2rpm.git/commitdiff/65ee30fe716b474953cf1214f794d4d0c7a4a01e
More information about the pld-cvs-commit
mailing list