[Pkg-cli-apps-commits] r4261 - in /packages/gfax/trunk/debian: changelog rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Wed Dec 3 18:20:30 UTC 2008


Author: hanska-guest
Date: Wed Dec  3 18:20:30 2008
New Revision: 4261

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4261
Log:
* Group Policy:
  + get-orig-source implemented in debian/rules

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

Modified: packages/gfax/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gfax/trunk/debian/changelog?rev=4261&op=diff
==============================================================================
--- packages/gfax/trunk/debian/changelog (original)
+++ packages/gfax/trunk/debian/changelog Wed Dec  3 18:20:30 2008
@@ -1,8 +1,10 @@
 gfax (0.7.6-10) UNRELEASED; urgency=low
 
   * debian/compat bumped to 7
+  * Group Policy:
+    + get-orig-source implemented in debian/rules
 
- -- David Paleino <d.paleino at gmail.com>  Wed, 03 Dec 2008 19:17:11 +0100
+ -- David Paleino <d.paleino at gmail.com>  Wed, 03 Dec 2008 19:19:37 +0100
 
 gfax (0.7.6-9) unstable; urgency=low
 

Modified: packages/gfax/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gfax/trunk/debian/rules?rev=4261&op=diff
==============================================================================
--- packages/gfax/trunk/debian/rules (original)
+++ packages/gfax/trunk/debian/rules Wed Dec  3 18:20:30 2008
@@ -8,6 +8,8 @@
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | cut -d"-" -f1)
 
 CFLAGS = -Wall -g
 
@@ -79,4 +81,13 @@
 binary-arch:
 
 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 patch unpatch




More information about the Pkg-cli-apps-commits mailing list