r7867 - in /trunk/libquota-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Sep 22 13:15:33 UTC 2007


Author: dmn
Date: Sat Sep 22 13:15:33 2007
New Revision: 7867

URL: http://svn.debian.org/wsvn/?sc=1&rev=7867
Log:
* Replaced get-orig-target content with sumple "uscan --force" now that we
  have a hook in the watch file

Modified:
    trunk/libquota-perl/debian/changelog
    trunk/libquota-perl/debian/rules

Modified: trunk/libquota-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/changelog?rev=7867&op=diff
==============================================================================
--- trunk/libquota-perl/debian/changelog (original)
+++ trunk/libquota-perl/debian/changelog Sat Sep 22 13:15:33 2007
@@ -24,8 +24,10 @@
     + Added quilt build-dependency
   * Renamed README.Debian to README.Debian-source as per DevRef
   * Added myself to Uploaders too
+  * Replaced get-orig-target content with sumple "uscan --force" now that we
+    have a hook in the watch file
 
- -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 16:08:28 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 16:14:54 +0300
 
 libquota-perl (1.4.9-3) unstable; urgency=low
 

Modified: trunk/libquota-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/rules?rev=7867&op=diff
==============================================================================
--- trunk/libquota-perl/debian/rules (original)
+++ trunk/libquota-perl/debian/rules Sat Sep 22 13:15:33 2007
@@ -25,14 +25,6 @@
 OPTIMIZE += -g
 endif
 
-DEBVERSION:=$(shell head -n 1 debian/changelog \
-		|  sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/+dfsg//'  | sed -e 's/-.*//')
-
-FILENAME := libquota-perl_$(UPVERSION)+dfsg.orig.tar.gz
-UPFILENAME := Quota-$(UPVERSION).tar.gz
-URL := http://backpan.cpan.org/modules/by-module/Quota/Quota-$(UPVERSION).tar.gz
-
 build: build-stamp
 build-stamp: patch
 	dh_testdir
@@ -51,7 +43,6 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 	$(MAKE) install PREFIX=$(TMP)/usr
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 
@@ -81,28 +72,8 @@
 source diff:                                                                  
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
-print-version: 
-	@@echo "Debian version: 	$(DEBVERSION)"
-	@@echo "Upstream version:	$(UPVERSION)"
-
-TMP_TARBALL_TOP=../tarballs/libquota-perl-$(UPVERSION).tmp/Quota-$(UPVERSION)
 get-orig-source:
-	@@dh_testdir
-	@@[ -d ../tarballs/. ] || mkdir -p ../tarballs
-	@@echo Downloading $(UPFILENAME) from $(URL) ....
-	@@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
-	@@echo Repacking as DFSG ..
-	@@mkdir -p ../tarballs/libquota-perl-$(UPVERSION).tmp 
-	@@ cd ../tarballs/libquota-perl-$(UPVERSION).tmp ; \
-	  tar xfz ../$(UPFILENAME)
-	@@rm -f $(TMP_TARBALL_TOP)/vxquotactl.c
-	@@mv ../tarballs/libquota-perl-$(UPVERSION).tmp/Quota-$(UPVERSION) \
-	  ../tarballs/libquota-perl-$(UPVERSION).tmp/libquota-perl-$(UPVERSION)+dfsg
-	@@cd ../tarballs/libquota-perl-$(UPVERSION).tmp ; \
-	tar cfz ../$(FILENAME) *
-	@@echo Cleaning up...
-	@@$(RM) -rf ../tarballs/libquota-perl-$(UPVERSION).tmp
-	
+	uscan --force
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary




More information about the Pkg-perl-cvs-commits mailing list