[Pkg-scicomp-commits] fiat/trunk/debian

Johannes Ring johannr at simula.no
Thu Oct 23 07:27:17 UTC 2008


SVN commit 3928 by johannr-guest:

Minor fix in get-orig-source target.

 M  +4 -9      fiat/trunk/debian/rules  


--- fiat/trunk/debian/rules #3927:3928
@@ -7,15 +7,10 @@
 
 DEB_COMPRESS_EXCLUDE := .py
 
+USCAN_DESTDIR := $(CURDIR)
 SRC_VERSION := $(shell dpkg-parsechangelog | \
 		sed -ne 's/^Version: \(.*\)-.*/\1/p')
 
-get-orig-source: FIAT-$(SRC_VERSION).tar.gz
-	tar zxf FIAT-$(SRC_VERSION).tar.gz
-	mv FIAT-$(SRC_VERSION) fiat-$(SRC_VERSION)
-	GZIP=--best tar czf $(CURDIR)/../fiat_$(SRC_VERSION).orig.tar.gz \
-	 fiat-$(SRC_VERSION)
-	rm -rf fiat-$(SRC_VERSION) FIAT-$(SRC_VERSION).tar.gz
-
-FIAT-$(SRC_VERSION).tar.gz:
-	wget http://www.fenics.org/pub/software/fiat/FIAT-$(SRC_VERSION).tar.gz
+get-orig-source:
+	uscan --force-download --verbose --destdir $(USCAN_DESTDIR) \
+	 --download-version $(SRC_VERSION) --upstream-version $(SRC_VERSION)



More information about the Pkg-scicomp-commits mailing list