[Python-modules-commits] r9593 - in packages/inotifyx/trunk/debian (changelog rules)

rrs-guest at users.alioth.debian.org rrs-guest at users.alioth.debian.org
Tue Sep 1 11:05:12 UTC 2009


    Date: Tuesday, September 1, 2009 @ 11:05:11
  Author: rrs-guest
Revision: 9593

Use uscan in get-orig-source

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

Modified: packages/inotifyx/trunk/debian/changelog
===================================================================
--- packages/inotifyx/trunk/debian/changelog	2009-08-31 20:58:29 UTC (rev 9592)
+++ packages/inotifyx/trunk/debian/changelog	2009-09-01 11:05:11 UTC (rev 9593)
@@ -1,3 +1,10 @@
+inotifyx (0.1.0-3) unstable; urgency=low
+
+  * debian/rules
+    - Update get-orig-source target to use uscan
+
+ -- Ritesh Raj Sarraf <rrs at researchut.com>  Wed, 26 Aug 2009 11:43:44 +0530
+
 inotifyx (0.1.0-2) unstable; urgency=low
 
   * debian/rules

Modified: packages/inotifyx/trunk/debian/rules
===================================================================
--- packages/inotifyx/trunk/debian/rules	2009-08-31 20:58:29 UTC (rev 9592)
+++ packages/inotifyx/trunk/debian/rules	2009-09-01 11:05:11 UTC (rev 9593)
@@ -1,14 +1,10 @@
 #!/usr/bin/make -f
 
 PKG_NAME=inotifyx
-PKG_VER=0.1.0
-UPSTR_SITE=http://www.alittletooquiet.net/media/release
-UPSTR_FILE=$(PKG_NAME)-$(PKG_VER).tar.gz
+PKG_VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 
 get-orig-source:
-	wget --no-cache -q $(UPSTR_SITE)/$(UPSTR_FILE)
-	@echo "Downloaded source file: $(UPSTR_FILE)"
-	@ls -l $(UPSTR_FILE)
+	uscan --force-download --rename --download-version=$(PKG_VER) --destdir=.
 
 build:
 	dh_testdir




More information about the Python-modules-commits mailing list