[packages/ruby-ohai] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:48:31 CEST 2025
commit 097b90058263a7c24c4a2ef04fe9513d95561506
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:48:15 2025 +0200
Fix applying patches.
ruby-ohai.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ruby-ohai.spec b/ruby-ohai.spec
index 74991ce..41a393b 100644
--- a/ruby-ohai.spec
+++ b/ruby-ohai.spec
@@ -51,7 +51,7 @@ This package contains documentation for %{name}.
%prep
%setup -q -n ohai-%{version}
-%patch1 -p1
+%patch -P1 -p1
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
# don't need shellout 2.0 yet, but 2.0 is ok
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ohai.git/commitdiff/097b90058263a7c24c4a2ef04fe9513d95561506
More information about the pld-cvs-commit
mailing list