[packages/nginx] Fix applying patchs

arekm arekm at pld-linux.org
Wed Apr 16 11:59:26 CEST 2025


commit c85c0d6dcc02771cdb8caa4fed97504dabf8a268
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Apr 16 10:59:38 2025 +0200

    Fix applying patchs

 nginx.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nginx.spec b/nginx.spec
index 3b0864a..1e4f2cf 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -305,8 +305,8 @@ Plik monitrc do monitorowania serwera WWW nginx.
 
 %prep
 %setup -q %{?with_rtmp:-a101} %{?with_modsecurity:-a33} %{?with_vts:-a102} %{?with_headers_more:-a103} -a104
-%patch0 -p0
-%{?with_modsecurity:%patch1 -p1 -d modsecurity-nginx-v%{modsecurity_version}}
+%patch -P0 -p0
+%{?with_modsecurity:%patch -P1 -p1 -d modsecurity-nginx-v%{modsecurity_version}}
 
 %if %{with rtmp}
 mv nginx-rtmp-module-%{rtmp_version} nginx-rtmp-module
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nginx.git/commitdiff/c85c0d6dcc02771cdb8caa4fed97504dabf8a268



More information about the pld-cvs-commit mailing list