[Pkg-voip-commits] r4896 - in /libcommoncpp2/trunk/debian: changelog rules

msp at alioth.debian.org msp at alioth.debian.org
Thu Nov 29 20:21:06 UTC 2007


Author: msp
Date: Thu Nov 29 20:21:05 2007
New Revision: 4896

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4896
Log:
* Cleanup get-orig-source VARS

Modified:
    libcommoncpp2/trunk/debian/changelog
    libcommoncpp2/trunk/debian/rules

Modified: libcommoncpp2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libcommoncpp2/trunk/debian/changelog?rev=4896&op=diff
==============================================================================
--- libcommoncpp2/trunk/debian/changelog (original)
+++ libcommoncpp2/trunk/debian/changelog Thu Nov 29 20:21:05 2007
@@ -1,8 +1,9 @@
 libcommoncpp2 (1.5.9-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
-
- -- Mark Purcell <msp at debian.org>  Sat, 20 Oct 2007 11:37:28 +0100
+  * Cleanup get-orig-source VARS
+
+ -- Mark Purcell <msp at debian.org>  Thu, 29 Nov 2007 20:20:46 +0000
 
 libcommoncpp2 (1.5.9-1) unstable; urgency=low
 

Modified: libcommoncpp2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/libcommoncpp2/trunk/debian/rules?rev=4896&op=diff
==============================================================================
--- libcommoncpp2/trunk/debian/rules (original)
+++ libcommoncpp2/trunk/debian/rules Thu Nov 29 20:21:05 2007
@@ -1,20 +1,13 @@
 #!/usr/bin/make -f
-DEBVERSION:=$(shell head -n 1 debian/changelog \
-		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
 
-FILENAME := libcommoncpp2_$(UPVERSION).orig.tar.gz
-URL := http://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-$(UPVERSION).tar.gz
+FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+URL = http://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-$(DEB_UPSTREAM_VERSION).tar.gz
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
 DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
-
-print-version:
-	@@echo "Debian version:          $(DEBVERSION)"
-	@@echo "Upstream version:        $(UPVERSION)"
 
 get-orig-source:
 	@@dh_testdir




More information about the Pkg-voip-commits mailing list