[Pkg-mono-svn-commits] [SCM] mono-uia-winforms branch, master, updated. debian/1.0-1-3-g4d9470a

Ray Wang raywang at gnome.org
Mon Aug 10 03:38:11 UTC 2009


The following commit has been merged in the master branch:
commit 4d9470a64cdd99438d98b3243833637be77bbe97
Author: Ray Wang <raywang at gnome.org>
Date:   Mon Aug 10 11:23:39 2009 +0800

    fix a non-policy compliant get-orig-source implementation issue

diff --git a/debian/rules b/debian/rules
index dce0a34..878bf07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,22 +10,19 @@ DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^
 DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
 VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
 
-override_dh_auto_configure:
-	dh_auto_configure -- --disable-tests
-
 get-orig-source:
-	[ -d ../tarballs ] || mkdir ../tarballs
 	uscan \
-        --package $(DEB_SOURCE_NAME) \
-        --watchfile $(DEBIAN_DIR)/watch \
-        --upstream-version $(VERSION) \
-        --download-version $(VERSION) \
-        --destdir ../tarballs \
-        --force-download \
-        --rename
-	bzcat ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \
-        gzip -9fn -c - > ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
-	rm ../tarballs/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2
+	  --package $(DEB_SOURCE_NAME) \
+	  --watchfile $(DEBIAN_DIR)/watch \
+	  --upstream-version $(VERSION) \
+	  --download-version $(VERSION) \
+	  --destdir . \
+	  --force-download \
+	  --rename \
+	  --repack
+
+override_dh_auto_configure:
+	dh_auto_configure -- --disable-tests
 
 %:
 	dh $@

-- 
mono-uia-winforms



More information about the Pkg-mono-svn-commits mailing list