[packages/tomcat] Fix applying patches.

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


commit 5499d3867a549782608afb3758b3868a27e74180
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 03:20:00 2025 +0200

    Fix applying patches.

 tomcat.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index 4590267..7792a44 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -263,21 +263,21 @@ javax.servlet.http, javax.servlet.jsp i java.servlet.jsp.tagext).
 
 %prep
 %setup -q -a100 -n apache-%{name}-%{version}-src
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P7 -p1
 
 # Prepare java-commmons-logging sources
 install -d output/extras/logging
 mv commons-logging-%{jclver}-src output/extras/logging
 cd output/extras/logging/commons-logging-%{jclver}-src
 %undos build.xml
-%patch100 -p1
+%patch -P100 -p1
 cd -
 
 # we don't need those scripts
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/5499d3867a549782608afb3758b3868a27e74180



More information about the pld-cvs-commit mailing list