[packages/ruby-nokogiri] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:48:25 CEST 2025
commit f769d272cb3513fc742cb6572ea9554f40ae75b7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:48:09 2025 +0200
Fix applying patches.
ruby-nokogiri.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ruby-nokogiri.spec b/ruby-nokogiri.spec
index d81ad18..40a4156 100644
--- a/ruby-nokogiri.spec
+++ b/ruby-nokogiri.spec
@@ -70,7 +70,7 @@ Dokumentacji w formacie ri dla %{pkgname}.
%prep
%setup -q -n %{pkgname}-%{version}
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
-%patch1 -p1
+%patch -P1 -p1
cp -p %{_datadir}/setup.rb .
@@ -79,7 +79,7 @@ cp -p %{_datadir}/setup.rb .
# yes. this is after writing gemspec.
# making gemspec from source is hard
-%patch0 -p1
+%patch -P0 -p1
# 1.6.0 needs this
export NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-nokogiri.git/commitdiff/f769d272cb3513fc742cb6572ea9554f40ae75b7
More information about the pld-cvs-commit
mailing list