[packages/rpm-pld-macros] 2.057: Use unzip -n to avoid interactive prompt on JARs with duplicate entries

arekm arekm at pld-linux.org
Sun Mar 22 18:12:39 CET 2026


commit a47985f67d786bdb6ff4a1088e3390597d11f1df
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 22 18:08:47 2026 +0100

    2.057: Use unzip -n to avoid interactive prompt on JARs with duplicate entries
    
    arara.jar from TeX Live as example. -n skips duplicates.

 rpm-java-requires   | 2 +-
 rpm-pld-macros.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index cade216..c1068a0 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	2.056
+%define		rpm_macros_rev	2.057
 %define		find_lang_rev	1.42
 # split into individual X_prov_ver if there is a reason to desync
 %define		prov_ver	4.15
diff --git a/rpm-java-requires b/rpm-java-requires
index 8bbac6f..1951d4f 100755
--- a/rpm-java-requires
+++ b/rpm-java-requires
@@ -62,7 +62,7 @@ javajarversion() {
 	[ -f "$jar" -a ! -L "$jar" ] || return $ret
 
 	tmp=$(mktemp -d)
-	unzip -q -d $tmp $jar >&2
+	unzip -q -n -d $tmp $jar >&2
 	# workaround for .jar files with stupid permissions
 	chmod -R u+rwX $tmp
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/a47985f67d786bdb6ff4a1088e3390597d11f1df



More information about the pld-cvs-commit mailing list