[packages/ruby-gnome2] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:47:45 CEST 2025
commit 68eef2a804bdc6d1018476373683f58e5a3edfb7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:47:29 2025 +0200
Fix applying patches.
ruby-gnome2.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ruby-gnome2.spec b/ruby-gnome2.spec
index 407f943..7e2e703 100644
--- a/ruby-gnome2.spec
+++ b/ruby-gnome2.spec
@@ -604,9 +604,9 @@ Przykłady do Ruby-GNOME2.
%prep
%setup -q -n %{name}-all-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
find . -name '*.rb' | xargs %{__sed} -i -e '1s,/usr/bin/env ruby$,%{__ruby},' -e '1s,./usr/local/bin/ruby$,%{__ruby},'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-gnome2.git/commitdiff/68eef2a804bdc6d1018476373683f58e5a3edfb7
More information about the pld-cvs-commit
mailing list