[maven-debian-helper] 01/01: Fixed mvn-debian when more than one binary package is defined

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Feb 5 15:15:28 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.

commit b7ab3318ee86d207b1a80948a5bd9ef6690c095b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Feb 5 16:11:32 2014 +0100

    Fixed mvn-debian when more than one binary package is defined
---
 bin/mvn-debian   | 2 +-
 debian/changelog | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/mvn-debian b/bin/mvn-debian
index 1fee0ca..9090be5 100755
--- a/bin/mvn-debian
+++ b/bin/mvn-debian
@@ -19,7 +19,7 @@ JAVA_OPTS="$JAVA_OPTS -Dproperties.file.auto=$AUTO_PROPS"
 MAVEN_OPTS="$MAVEN_OPTS -Ddebian.dir=$PWD/debian"
 
 if [ -r debian/control ]; then
-  JAR_PACKAGE=$(dh_listpackages | awk '{ print $1 }')
+  JAR_PACKAGE=$(dh_listpackages | head -1)
   MAVEN_OPTS="$MAVEN_OPTS -Ddebian.package=$JAR_PACKAGE"
 fi
 
diff --git a/debian/changelog b/debian/changelog
index 2281fbb..4c00224 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ maven-debian-helper (1.6.7) UNRELEASED; urgency=medium
     plugins
   * Depend on maven-repo-helper >= 1.8.6
   * Improved the package description (Closes: #704091)
+  * Fixed the mvn-debian script when more than one binary package is defined
+    (Closes: #673525)
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 05 Feb 2014 12:18:48 +0100
 

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



More information about the pkg-java-commits mailing list