[pkg-java] r19156 - trunk/jarjar/debian
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 5 08:12:37 UTC 2016
Author: ebourg-guest
Date: 2016-10-05 08:12:37 +0000 (Wed, 05 Oct 2016)
New Revision: 19156
Modified:
trunk/jarjar/debian/changelog
trunk/jarjar/debian/control
trunk/jarjar/debian/rules
Log:
Added a Built-Using field with the asm version used
Modified: trunk/jarjar/debian/changelog
===================================================================
--- trunk/jarjar/debian/changelog 2016-10-05 08:09:24 UTC (rev 19155)
+++ trunk/jarjar/debian/changelog 2016-10-05 08:12:37 UTC (rev 19156)
@@ -3,6 +3,7 @@
* Team upload.
* Include the SignatureRemapper class (new in ASM 5.1) in the final jar
* Build with the DH sequencer instead of CDBS
+ * Added a Built-Using field with the asm version used
-- Emmanuel Bourg <ebourg at apache.org> Wed, 05 Oct 2016 09:12:17 +0200
Modified: trunk/jarjar/debian/control
===================================================================
--- trunk/jarjar/debian/control 2016-10-05 08:09:24 UTC (rev 19155)
+++ trunk/jarjar/debian/control 2016-10-05 08:12:37 UTC (rev 19156)
@@ -14,6 +14,7 @@
Package: libjarjar-java
Architecture: all
Depends: ${misc:Depends}
+Built-Using: asm (= ${asm:Version})
Description: repackage third-party jars
Utility that makes it easy to repackage Java libraries and embed them
into your own distribution. This is useful for two reasons:
Modified: trunk/jarjar/debian/rules
===================================================================
--- trunk/jarjar/debian/rules 2016-10-05 08:09:24 UTC (rev 19155)
+++ trunk/jarjar/debian/rules 2016-10-05 08:12:37 UTC (rev 19156)
@@ -2,12 +2,18 @@
export CLASSPATH := /usr/share/java/asm.jar:/usr/share/java/asm-commons.jar:/usr/share/java/maven-plugin-api.jar
+# Variable for the Built-Using field in the control file
+ASM_VERSION := $(shell dpkg-query -f '$${source:Version}' --show libasm-java)
+
%:
dh $@ --with maven-repo-helper
override_dh_auto_build:
dh_auto_build -- jar javadoc
+override_dh_gencontrol:
+ dh_gencontrol -- -Vasm:Version=${ASM_VERSION}
+
override_dh_auto_clean:
dh_auto_clean
dh_auto_build -- clean
More information about the pkg-java-commits
mailing list