[get-flash-videos] 04/07: debian/rules: use DEB_VERSION_UPSTREAM from /usr/share/dpkg/pkg-info.mk.

gregor herrmann gregoa at debian.org
Thu Jul 20 16:16:08 UTC 2017


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

gregoa pushed a commit to branch master
in repository get-flash-videos.

commit 72132912de601a0d6f456e0bc78ebac9d85efba6
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jul 20 18:06:51 2017 +0200

    debian/rules: use DEB_VERSION_UPSTREAM from /usr/share/dpkg/pkg-info.mk.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 225c9ff..b4cc47f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,10 @@
 # -*- makefile -*-
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/pkg-info.mk
+
 SOURCE = get-flash-videos
-VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+VERSION = $(DEB_VERSION_UPSTREAM)
 GIT_URL = git://github.com/monsieurvideo/get-flash-videos.git
 ORIGDIR = $(SOURCE)-$(VERSION)
 TARNAME = $(SOURCE)_$(VERSION).orig.tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/get-flash-videos.git



More information about the Pkg-perl-cvs-commits mailing list