[Python-modules-commits] [python-sptest] 02/16: Define DEB_UPSTREAM_VERSION in debian/rules and add --destdir and --download-version parameters to uscan call in get-orig-source target.
Mattia Rizzolo
mattia at debian.org
Wed Jan 20 18:45:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository python-sptest.
commit c75ae9267aee5c71bf4519975163db7088af14dd
Author: Stephan Peijnik <debian at sp.or.at>
Date: Wed Feb 25 15:32:38 2009 +0000
Define DEB_UPSTREAM_VERSION in debian/rules and add --destdir and --download-version parameters to uscan call in get-orig-source target.
---
debian/changelog | 9 ++++++++-
debian/rules | 5 ++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 73444ba..bad46a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,16 @@
python-sptest (0.2.1-3) UNRELEASED; urgency=low
+ [ Sandro Tosi ]
* debian/control
- switch Vcs-Browser field to viewsvn
- -- Sandro Tosi <morph at debian.org> Mon, 03 Nov 2008 22:15:56 +0100
+ [ Stephan Peijnik ]
+ * debian/rules
+ - Add --destdir=* --download-version=$(DEB_UPSTREAM_VERSION) parameters
+ to uscan call in get-orig-source target.
+ - Define DEB_UPSTREAM_VERSION variable.
+
+ -- Stephan Peijnik <debian at sp.or.at> Wed, 25 Feb 2009 16:29:50 +0100
python-sptest (0.2.1-2.1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index fc680c6..4d43c07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+
clean:
dh_testdir
dh_testroot
@@ -38,6 +40,7 @@ binary-indep: build install
binary: binary-indep binary-arch
get-orig-source:
- uscan --force-download --rename --repack
+ uscan --force-download --rename --repack --destdir=. \
+ --download-version=$(DEB_UPSTREAM_VERSION)
.PHONY: build clean binary-indep binary-arch install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-sptest.git
More information about the Python-modules-commits
mailing list