[xmlgraphics-commons] 12/47: bad names of the jar file

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Oct 2 23:28:08 UTC 2017


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

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

commit 7c467012d7bc5af8a63dc393b241c6d0699c4e2d
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Tue Oct 14 12:44:26 2008 +0000

    bad names of the jar file
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index d909b3e..2e4401f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
+export VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/.dfsg.*//')
+
 #JAVA_HOME := /usr/lib/jvm/java-gcj
 JAVA_HOME_DIRS       := /usr/lib/jvm/java-6-openjdk  /usr/lib/jvm/java-6-sun
 
@@ -12,5 +14,5 @@ DEB_JARS := commons-io commons-logging #junit ant-junit
 DEB_ANT_BUILD_TARGET := all
 
 install/libxmlgraphics-commons-java::
-	install -m644 -D build/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar debian/libxmlgraphics-commons-java/usr/share/java/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plibxmlgraphics-commons-java usr/share/java/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xmlgraphics-commons.jar
+	install -m644 -D build/xmlgraphics-commons-$(VERSION).jar debian/libxmlgraphics-commons-java/usr/share/java/xmlgraphics-commons-$(VERSION).jar
+	dh_link -plibxmlgraphics-commons-java usr/share/java/xmlgraphics-commons-$(VERSION).jar usr/share/java/xmlgraphics-commons.jar

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



More information about the pkg-java-commits mailing list