[Pkg-cli-apps-commits] r4956 - /packages/yahtzeesharp/trunk/debian/rules

sebner-guest at users.alioth.debian.org sebner-guest at users.alioth.debian.org
Mon Jun 1 18:29:49 UTC 2009


Author: sebner-guest
Date: Mon Jun  1 18:29:48 2009
New Revision: 4956

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4956
Log:
fix get-orig-source to conform policy

Modified:
    packages/yahtzeesharp/trunk/debian/rules

Modified: packages/yahtzeesharp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/yahtzeesharp/trunk/debian/rules?rev=4956&op=diff
==============================================================================
--- packages/yahtzeesharp/trunk/debian/rules (original)
+++ packages/yahtzeesharp/trunk/debian/rules Mon Jun  1 18:29:48 2009
@@ -8,7 +8,11 @@
 
 DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
 DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
-VERSION = $(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
+VERSION = $(shell uscan --dehs --force-download --destdir . \
+                --package mediatomb --upstream-version 0 \
+                --watchfile $(dir $(_))/watch --no-symlink | \
+                grep upstream-version | sed 's/<.*>\(.*\)<.*>/\1/g')
+
 
 include /usr/share/cli-common/cli.make
 include /usr/share/quilt/quilt.make




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