[Pkg-voip-commits] r2031 - iaxmodem/trunk/debian

Julien Blache jblache at costa.debian.org
Sat Jul 8 10:56:04 UTC 2006


Author: jblache
Date: 2006-07-08 10:56:03 +0000 (Sat, 08 Jul 2006)
New Revision: 2031

Modified:
   iaxmodem/trunk/debian/rules
Log:
Fix upstream version extraction script to account for dfsgX versions.


Modified: iaxmodem/trunk/debian/rules
===================================================================
--- iaxmodem/trunk/debian/rules	2006-07-08 10:30:00 UTC (rev 2030)
+++ iaxmodem/trunk/debian/rules	2006-07-08 10:56:03 UTC (rev 2031)
@@ -34,7 +34,7 @@
 
 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$$//')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg[0-9]*$$//')
 
 FILENAME := iaxmodem_$(UPVERSION).dfsg.orig.tar.gz
 UPFILENAME := iaxmodem_$(UPVERSION).orig.tar.gz




More information about the Pkg-voip-commits mailing list