[Pkg-voip-commits] [ring] 01/01: d/rules: support overriding uscan's downloaded tarball

Alexandre Viau aviau at moszumanska.debian.org
Fri Jun 10 19:00:11 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 26a74b58c085dce080ea2b3a3fe065f0257dcf39
Author: aviau <alexandre at alexandreviau.net>
Date:   Fri Jun 10 14:59:51 2016 -0400

    d/rules: support overriding uscan's downloaded tarball
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ac1cbf1..0064f74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,7 +158,11 @@ version_to_download := $(shell dpkg-parsechangelog -ldebian/changelog | perl -ne
 # Repacks the tarball with contrib tarballs unpacked.
 get-orig-source:
 	# Download ring tarball
-	uscan --rename --destdir=${tmpdir} --download-version ${version_to_download}
+	if [ -n "$$GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL" ]; then \
+	    mv $$GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL ${tmpdir}; \
+	else \
+	    uscan --rename --destdir=${tmpdir} --download-version ${version_to_download} ;\
+	fi
 
 	# 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