[Python-modules-commits] r7763 - in packages/python-sptest/trunk/debian (changelog rules)
speijnik-guest at users.alioth.debian.org
speijnik-guest at users.alioth.debian.org
Wed Feb 25 15:32:39 UTC 2009
Date: Wednesday, February 25, 2009 @ 15:32:38
Author: speijnik-guest
Revision: 7763
Define DEB_UPSTREAM_VERSION in debian/rules and add --destdir and --download-version parameters to uscan call in get-orig-source target.
Modified:
packages/python-sptest/trunk/debian/changelog
packages/python-sptest/trunk/debian/rules
Modified: packages/python-sptest/trunk/debian/changelog
===================================================================
--- packages/python-sptest/trunk/debian/changelog 2009-02-25 11:39:26 UTC (rev 7762)
+++ packages/python-sptest/trunk/debian/changelog 2009-02-25 15:32:38 UTC (rev 7763)
@@ -1,10 +1,17 @@
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) unstable; urgency=medium
* Removed "build install" dependency of binary-arch rule in debian/rules.
Modified: packages/python-sptest/trunk/debian/rules
===================================================================
--- packages/python-sptest/trunk/debian/rules 2009-02-25 11:39:26 UTC (rev 7762)
+++ packages/python-sptest/trunk/debian/rules 2009-02-25 15:32:38 UTC (rev 7763)
@@ -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: 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
\ No newline at end of file
+.PHONY: build clean binary-indep binary-arch install
More information about the Python-modules-commits
mailing list