[Pkg-voip-commits] r2624 - asterisk/branches/sarge/debian

Kilian Krause kilian at costa.debian.org
Tue Oct 24 06:52:47 UTC 2006


Author: kilian
Date: 2006-10-24 06:52:46 +0000 (Tue, 24 Oct 2006)
New Revision: 2624

Modified:
   asterisk/branches/sarge/debian/rules
Log:
also backport version string parser to sarge version


Modified: asterisk/branches/sarge/debian/rules
===================================================================
--- asterisk/branches/sarge/debian/rules	2006-10-24 06:51:26 UTC (rev 2623)
+++ asterisk/branches/sarge/debian/rules	2006-10-24 06:52:46 UTC (rev 2624)
@@ -35,9 +35,9 @@
 
 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$$//')
 
-FILENAME := asterisk_$(UPVERSION).dfsg.orig.tar.gz
+FILENAME := asterisk_$(UPVERSION)~dfsg.orig.tar.gz
 UPFILENAME := asterisk_$(UPVERSION).orig.tar.gz
 URL := http://ftp2.digium.com/pub/asterisk/releases/asterisk-$(UPVERSION).tar.gz
 




More information about the Pkg-voip-commits mailing list