[packages/cacti-plugin-thold] Fix applying patches.
arekm
arekm at pld-linux.org
Mon Jul 14 22:53:14 CEST 2025
commit 779d95fda73bc973d9a1280440216737c673b3cc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 22:52:58 2025 +0200
Fix applying patches.
cacti-plugin-thold.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cacti-plugin-thold.spec b/cacti-plugin-thold.spec
index 0b20179..7825853 100644
--- a/cacti-plugin-thold.spec
+++ b/cacti-plugin-thold.spec
@@ -48,8 +48,8 @@ mv %{plugin}/{LICENSE,README} .
# undos the source
find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti-plugin-thold.git/commitdiff/779d95fda73bc973d9a1280440216737c673b3cc
More information about the pld-cvs-commit
mailing list