[packages/rubocop] Fix applying patches.

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


commit 011389f83e79c36c011e22e31040a52f04f9b0da
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 02:46:22 2025 +0200

    Fix applying patches.

 rubocop.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rubocop.spec b/rubocop.spec
index d41c728..7aee7e7 100644
--- a/rubocop.spec
+++ b/rubocop.spec
@@ -48,7 +48,7 @@ community-driven Ruby Style Guide.
 %prep
 %setup -q
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
-%patch0 -p1
+%patch -P0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rubocop.git/commitdiff/011389f83e79c36c011e22e31040a52f04f9b0da



More information about the pld-cvs-commit mailing list