[packages/snort] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 03:02:48 CEST 2025


commit 29c6f65cb7afe543724c6b27d7765dd32a5bd02a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 03:02:32 2025 +0200

    Fix applying patches.

 snort.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/snort.spec b/snort.spec
index 244d412..6e8af88 100644
--- a/snort.spec
+++ b/snort.spec
@@ -136,8 +136,8 @@ Snort - це сніфер пакетів, що може використовув
 
 %prep
 %setup -q %{!?with_registered:-a1} %{?with_registered:-a2} -a3
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 sed -i "s#var\ RULE_PATH.*#var RULE_PATH /etc/snort/rules#g" rules/snort.conf
 _DIR=$(pwd)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/snort.git/commitdiff/29c6f65cb7afe543724c6b27d7765dd32a5bd02a



More information about the pld-cvs-commit mailing list