[Python-apps-commits] r2098 - in packages/wicd/trunk/debian (changelog rules)

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Wed Dec 24 00:27:52 UTC 2008


    Date: Wednesday, December 24, 2008 @ 00:27:51
  Author: hanska-guest
Revision: 2098

* debian/rules:
  - get-orig-source target to ease upstream tarball fetch

Modified:
  packages/wicd/trunk/debian/changelog
  packages/wicd/trunk/debian/rules

Modified: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog	2008-12-24 00:12:10 UTC (rev 2097)
+++ packages/wicd/trunk/debian/changelog	2008-12-24 00:27:51 UTC (rev 2098)
@@ -15,8 +15,10 @@
       /var/log/wicd/wicd.log to root:adm (Closes: #503749)
     - 03-fix_lintian_manpage_warning.patch added, gives a more
       meaningful whatis entry
+  * debian/rules:
+    - get-orig-source target to ease upstream tarball fetch
 
- -- David Paleino <d.paleino at gmail.com>  Tue, 23 Dec 2008 16:35:32 +0100
+ -- David Paleino <d.paleino at gmail.com>  Wed, 24 Dec 2008 01:27:17 +0100
 
 wicd (1.5.2-1) unstable; urgency=low
 

Modified: packages/wicd/trunk/debian/rules
===================================================================
--- packages/wicd/trunk/debian/rules	2008-12-24 00:12:10 UTC (rev 2097)
+++ packages/wicd/trunk/debian/rules	2008-12-24 00:27:51 UTC (rev 2098)
@@ -4,6 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+CURVER=$(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | cut -d"-" -f1 )
+
 include /usr/share/quilt/quilt.make
 
 configure: configure-stamp
@@ -69,4 +71,13 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
+
+get-orig-source:
+	[ -d "../tarballs" ] || mkdir ../tarballs
+	uscan \
+		--force-download \
+		--download-version $(CURVER) \
+		--rename \
+		--destdir ../tarballs
+
 .PHONY: build clean binary-indep binary-arch binary install




More information about the Python-apps-commits mailing list