[packages/java-jgoodies-looks] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 00:21:46 CEST 2025


commit f56719274280a16a07ee4169380c053754006fc6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 00:21:31 2025 +0200

    Fix applying patches.

 java-jgoodies-looks.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/java-jgoodies-looks.spec b/java-jgoodies-looks.spec
index 16f17aa..f49114e 100644
--- a/java-jgoodies-looks.spec
+++ b/java-jgoodies-looks.spec
@@ -87,7 +87,7 @@ including the "uif_lite" classes.
 %undos *.txt *.html docs/*.* docs/guide/*.*
 find -name '*.java' -print0 | xargs -0 %undos
 
-%patch0 -p1
+%patch -P0 -p1
 
 # unzip the look&feel settings from bundled jar before we delete it
 # (taken from Gentoo ebuild)
@@ -104,16 +104,16 @@ rm -r docs/api
 # (Unless we're compiling with a Sun JVM)
 %if %{with java_sun}
 %else
-%patch1 -p1
+%patch -P1 -p1
 rm -r src/core/com/jgoodies/looks/windows
 %endif
 
 # Delete a file that's a copy of something distributed by Sun, and patch the files that
 # use it so they don't.
 rm src/core/com/jgoodies/looks/common/ExtBasicArrowButtonHandler.java
-%patch2 -p1
+%patch -P2 -p1
 
-%patch3 -p1
+%patch -P3 -p1
 
 %build
 %ant -Ddescriptors.dir=. compile jar %{?with_javadoc:javadoc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-jgoodies-looks.git/commitdiff/f56719274280a16a07ee4169380c053754006fc6



More information about the pld-cvs-commit mailing list