[packages/nagios-plugin-check_megaraid_sas] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 01:29:50 CEST 2025


commit f7ed8d72dfcb06da391b92def85fe80f0c0775bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 01:29:34 2025 +0200

    Fix applying patches.

 nagios-plugin-check_megaraid_sas.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/nagios-plugin-check_megaraid_sas.spec b/nagios-plugin-check_megaraid_sas.spec
index ab2bbed..520b945 100644
--- a/nagios-plugin-check_megaraid_sas.spec
+++ b/nagios-plugin-check_megaraid_sas.spec
@@ -35,9 +35,9 @@ controller supported by the MegaCli tool.
 install %{SOURCE0} %{plugin}
 %{__sed} -i -e 's#/usr/sbin/MegaCli#/sbin/MegaCli#g' %{plugin}
 
-%patch0 -p0
-%patch1 -p1
-%patch2 -p1
+%patch -P0 -p0
+%patch -P1 -p1
+%patch -P2 -p1
 
 cat > nagios.cfg <<'EOF'
 # Usage:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_megaraid_sas.git/commitdiff/f7ed8d72dfcb06da391b92def85fe80f0c0775bc



More information about the pld-cvs-commit mailing list