[packages/openjdk21] use %patch -P

atler atler at pld-linux.org
Thu Apr 17 02:10:40 CEST 2025


commit 9286e2a9b0c1330872f7a459d3acbdc9ee576d14
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 16 12:43:47 2025 +0200

    use %patch -P

 openjdk21.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openjdk21.spec b/openjdk21.spec
index f176a9a..0260ac6 100644
--- a/openjdk21.spec
+++ b/openjdk21.spec
@@ -342,8 +342,8 @@ Przykłady dla OpenJDK.
 %prep
 %setup -qn jdk21u-jdk-%{version}-ga
 
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %build
 # Make sure we have /proc mounted - otherwise idlc will fail later.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk21.git/commitdiff/ce9891318c334f7234c6bf3e4607197f70f4e9d9



More information about the pld-cvs-commit mailing list