[packages/java5-sun] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 00:19:41 CEST 2025
commit 4d687b44dad4c8c60550fd8fcc5b47af001329c6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 00:19:25 2025 +0200
Fix applying patches.
java5-sun.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/java5-sun.spec b/java5-sun.spec
index 2244c3a..93fe5f5 100644
--- a/java5-sun.spec
+++ b/java5-sun.spec
@@ -300,10 +300,10 @@ cd ..
%endif
cd -
%ifnarch %{x8664}
-%patch0 -p1
+%patch -P0 -p1
# patch only copy of the desktop file, leave original unchanged
cp jre/plugin/desktop/sun_java.desktop .
-%patch1 -p1
+%patch -P1 -p1
%endif
# unpack packed jar files -- in %%prep as it is done "in place"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java5-sun.git/commitdiff/4d687b44dad4c8c60550fd8fcc5b47af001329c6
More information about the pld-cvs-commit
mailing list