[Pkg-voip-commits] [ring] 01/09: Set version to download with get-orig-source
Alexandre Viau
aviau at moszumanska.debian.org
Fri Apr 1 15:46:35 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 93adf87f9ab16a00b871c42a668e84bd5d25ed5f
Author: aviau <alexandre at alexandreviau.net>
Date: Fri Apr 1 10:42:33 2016 -0400
Set version to download with get-orig-source
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index e52ff1a..72c785a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -139,11 +139,12 @@ override_dh_auto_install:
tmpdir:= $(shell mktemp -d)
workdir:= $(shell pwd)
+version_to_download := $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
# Repacks the tarball with contrib tarballs unpacked.
get-orig-source:
# Download ring tarball
- uscan --rename --destdir=${tmpdir}
+ uscan --rename --destdir=${tmpdir} --download-version ${version_to_download}
# Unpack ring tarball
tar -C ${tmpdir} -xf ${tmpdir}/*.tar.gz
--
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