[Pkg-voip-commits] [ring] 09/15: version_to_download: support ~dfsg suffix

Alexandre Viau aviau at moszumanska.debian.org
Fri Apr 22 23:21:42 UTC 2016


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

aviau pushed a commit to branch master
in repository ring.

commit 65eed742ce0235d8e160957103a0ab7654541b38
Author: aviau <alexandre at alexandreviau.net>
Date:   Fri Apr 22 17:31:04 2016 -0400

    version_to_download: support ~dfsg suffix
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6ef1e4f..3b79aff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -146,7 +146,7 @@ override_dh_auto_install:
 tmpdir:= $(shell mktemp -d)
 workdir:= $(shell pwd)
 PKD := $(abspath $(dir $(MAKEFILE_LIST)))
-version_to_download := $(shell dpkg-parsechangelog -ldebian/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
+version_to_download := $(shell dpkg-parsechangelog -ldebian/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\~dfsg.+)(?:\-\d+.*)};')
 
 # Repacks the tarball with contrib tarballs unpacked.
 get-orig-source:

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



More information about the Pkg-voip-commits mailing list