[packages/cacti-template-apcupsd] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 22:53:19 CEST 2025


commit 7c0ebb6fdb164084256bc040ce4670a08ae3772b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 22:53:04 2025 +0200

    Fix applying patches.

 cacti-template-apcupsd.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cacti-template-apcupsd.spec b/cacti-template-apcupsd.spec
index 6c320f2..9ee1619 100644
--- a/cacti-template-apcupsd.spec
+++ b/cacti-template-apcupsd.spec
@@ -30,7 +30,7 @@ Pulls APC data via APC UPS Daemon (apcupsd) for non-SNMP hardware.
 %prep
 %setup -qc
 %undos -f php
-%patch0 -p1
+%patch -P0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti-template-apcupsd.git/commitdiff/7c0ebb6fdb164084256bc040ce4670a08ae3772b



More information about the pld-cvs-commit mailing list