[wagon] 03/06: Added the Built-Using field to libwagon-http-shaded-java

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 9 00:32:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository wagon.

commit 9e53f78b3c3fa9318729d634de537fcdfb61140d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Nov 9 01:07:29 2017 +0100

    Added the Built-Using field to libwagon-http-shaded-java
---
 debian/control | 6 ++++++
 debian/rules   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/control b/debian/control
index 8e14ae7..ff1481a 100644
--- a/debian/control
+++ b/debian/control
@@ -161,6 +161,12 @@ Architecture: all
 Depends: ${misc:Depends}
 Breaks: libwagon-java (<< 3.0.0-2~)
 Replaces: libwagon-java (<< 3.0.0-2~)
+Built-Using:
+ commons-io (= ${commons-io:Version}),
+ httpcomponents-core (= ${httpcore:Version}),
+ httpcomponents-client (= ${httpclient:Version}),
+ jsoup (= ${jsoup:Version}),
+ libcommons-codec-java (= ${commons-codec:Version})
 Description: Artifact transport abstraction used in Maven (HTTP providers with dependencies)
  The Wagon project defines a simple API for transferring resources
  (artifacts) to and from repositories. The word repository is used in this
diff --git a/debian/rules b/debian/rules
index fa34bb0..0efd103 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,5 +18,12 @@ override_dh_auto_install:
 	dh_auto_install
 	mh_installjar -plibwagon-http-shaded-java --java-lib --usj-name=wagon-http-shaded --classifier=shaded wagon-providers/wagon-http/pom.xml wagon-providers/wagon-http/target/wagon-http-*-shaded.jar
 
+override_dh_gencontrol:
+	dh_gencontrol -- -Vhttpcore:Version=$(shell dpkg-query -f '$${source:Version}' --show libhttpcore-java) \
+	                 -Vhttpclient:Version=$(shell dpkg-query -f '$${source:Version}' --show libhttpclient-java) \
+	                 -Vcommons-codec:Version=$(shell dpkg-query -f '$${source:Version}' --show libcommons-codec-java) \
+	                 -Vcommons-io:Version=$(shell dpkg-query -f '$${source:Version}' --show libcommons-io-java) \
+	                 -Vjsoup:Version=$(shell dpkg-query -f '$${source:Version}' --show libjsoup-java ) \
+
 get-orig-source:
 	uscan --download-current-version --force-download --no-symlink --repack

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/wagon.git



More information about the pkg-java-commits mailing list