[Pkg-voip-commits] r4895 - in /libccrtp/trunk/debian: changelog rules

msp at alioth.debian.org msp at alioth.debian.org
Thu Nov 29 20:18:56 UTC 2007


Author: msp
Date: Thu Nov 29 20:18:56 2007
New Revision: 4895

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

Modified:
    libccrtp/trunk/debian/changelog
    libccrtp/trunk/debian/rules

Modified: libccrtp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libccrtp/trunk/debian/changelog?rev=4895&op=diff
==============================================================================
--- libccrtp/trunk/debian/changelog (original)
+++ libccrtp/trunk/debian/changelog Thu Nov 29 20:18:56 2007
@@ -1,8 +1,9 @@
 libccrtp (1.5.2-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
-
- -- Mark Purcell <msp at debian.org>  Sun, 30 Sep 2007 12:01:29 +0100
+  * Cleanup get-orig-source VARS
+
+ -- Mark Purcell <msp at debian.org>  Thu, 29 Nov 2007 20:16:16 +0000
 
 libccrtp (1.5.2-1) unstable; urgency=low
 

Modified: libccrtp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/libccrtp/trunk/debian/rules?rev=4895&op=diff
==============================================================================
--- libccrtp/trunk/debian/rules (original)
+++ libccrtp/trunk/debian/rules Thu Nov 29 20:18:56 2007
@@ -1,11 +1,7 @@
 #!/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 := libccrtp_$(UPVERSION).orig.tar.gz
-URL := http://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-$(UPVERSION).tar.gz
+FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+URL = http://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-$(DEB_UPSTREAM_VERSION).tar.gz
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
@@ -16,10 +12,6 @@
 
 DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
 
-print-version:
-	@@echo "Debian version:          $(DEBVERSION)"
-	@@echo "Upstream version:        $(UPVERSION)"
-
 get-orig-source:
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs




More information about the Pkg-voip-commits mailing list