[packages/ruby-rails] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 02:48:46 CEST 2025


commit ead3360654b17ad52639c98974a60b338b8229e3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 02:48:30 2025 +0200

    Fix applying patches.

 ruby-rails.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ruby-rails.spec b/ruby-rails.spec
index a008ac9..bf0d214 100644
--- a/ruby-rails.spec
+++ b/ruby-rails.spec
@@ -124,15 +124,15 @@ Dokumentacji w formacie ri dla %{pkgname}.
 install -d railgem
 %{__tar} xf %{SOURCE1} -C railgem/
 
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 # write .gemspec
 cd railgem
 %__gem_helper spec
 cd ..
 %__gem_helper spec
-%patch2 -p1
+%patch -P2 -p1
 
 find -newer README.rdoc -o -print | xargs touch --reference %{SOURCE0}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rails.git/commitdiff/ead3360654b17ad52639c98974a60b338b8229e3



More information about the pld-cvs-commit mailing list