[packages/ruby-rails2] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:48:48 CEST 2025
commit 68ae2da5851e96010a29fc6697dff115abf3e64b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:48:33 2025 +0200
Fix applying patches.
ruby-rails2.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ruby-rails2.spec b/ruby-rails2.spec
index ac922ef..f26ca9a 100644
--- a/ruby-rails2.spec
+++ b/ruby-rails2.spec
@@ -82,7 +82,7 @@ Dokumentacji w formacie ri dla %{pkgname}.
%setup -qcT
%{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
find -newer README -o -print | xargs touch --reference %{SOURCE0}
-%patch0 -p1
+%patch -P0 -p1
%{__grep} -rl '/usr/bin/env' . | xargs %{__sed} -i -e '
s,/usr/bin/env ruby,%{__ruby},
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-rails2.git/commitdiff/68ae2da5851e96010a29fc6697dff115abf3e64b
More information about the pld-cvs-commit
mailing list