[Pkg-voip-commits] r1943 - ortp/trunk/debian

Kilian Krause kilian at costa.debian.org
Wed Jun 21 19:15:25 UTC 2006


Author: kilian
Date: 2006-06-21 19:15:24 +0000 (Wed, 21 Jun 2006)
New Revision: 1943

Modified:
   ortp/trunk/debian/changelog
   ortp/trunk/debian/control
   ortp/trunk/debian/rules
Log:
fix get-orig-source target.


Modified: ortp/trunk/debian/changelog
===================================================================
--- ortp/trunk/debian/changelog	2006-06-21 15:33:31 UTC (rev 1942)
+++ ortp/trunk/debian/changelog	2006-06-21 19:15:24 UTC (rev 1943)
@@ -2,8 +2,11 @@
 
   * NOT RELEASED YET
 
- -- Mark Purcell <msp at debian.org>  Wed, 21 Jun 2006 11:38:32 +0100
+  [ Kilian Krause ]
+  * Fix get-orig-source target.
 
+ -- Kilian Krause <kilian at debian.org>  Wed, 21 Jun 2006 21:15:08 +0200
+
 ortp (0.10.0-1) unstable; urgency=low
 
   * Initial release (Closes: #374791)

Modified: ortp/trunk/debian/control
===================================================================
--- ortp/trunk/debian/control	2006-06-21 15:33:31 UTC (rev 1942)
+++ ortp/trunk/debian/control	2006-06-21 19:15:24 UTC (rev 1943)
@@ -1,7 +1,8 @@
 Source: ortp
 Priority: optional
 Maintainer: Mark Purcell <msp at debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, cdbs
+Uploaders: Kilian Krause <kilian at debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, cdbs, dpatch
 Standards-Version: 3.7.2
 Section: libs
 

Modified: ortp/trunk/debian/rules
===================================================================
--- ortp/trunk/debian/rules	2006-06-21 15:33:31 UTC (rev 1942)
+++ ortp/trunk/debian/rules	2006-06-21 19:15:24 UTC (rev 1943)
@@ -10,6 +10,16 @@
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-ewarning=no
 DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
 
+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 := ortp_$(UPVERSION).orig.tar.gz
+
+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