[tuxguitar] 05/06: Use dpkg-parsechangelog's --show-field in debian/rules.

gregor herrmann gregoa at debian.org
Fri Sep 25 16:26:19 UTC 2015


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

gregoa pushed a commit to branch master
in repository tuxguitar.

commit a6e0aa4098cb4ae1232d7ecc727e75174aef1368
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Sep 25 18:20:24 2015 +0200

    Use dpkg-parsechangelog's --show-field in debian/rules.
    
    Bump versioned build-dep on dpkg-dev.
---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index b118b28..fbe1440 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: ant,
                default-jdk | java2-compiler,
                docbook-to-man,
                docbook-utils,
-               dpkg-dev (>= 1.16.1~),
+               dpkg-dev (>= 1.17.0~),
                gcj-jdk,
                libasound2-dev | liboss4-salsa-dev,
                libfluidsynth-dev,
diff --git a/debian/rules b/debian/rules
index a5af9ae..2c27573 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 default: build
 
 #export DH_VERBOSE=1
-MAINPACKAGE?=$(shell dpkg-parsechangelog | sed -n 's/Source: \(.*\)/\1/p')
+MAINPACKAGE?=$(shell dpkg-parsechangelog -S Source)
 PACKAGE?=tuxguitar
 JAVA_HOME=/usr/lib/jvm/default-java
 JAVA?=${JAVA_HOME}/jre/bin/java

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



More information about the pkg-java-commits mailing list