[Pkg-voip-commits] r8256 - /openr2/trunk/debian/rules

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sat Apr 3 11:49:01 UTC 2010


Author: tzafrir
Date: Sat Apr  3 11:48:59 2010
New Revision: 8256

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8256
Log:
tweak get-orig-source for the case of a modified revision.

Modified:
    openr2/trunk/debian/rules

Modified: openr2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/rules?rev=8256&op=diff
==============================================================================
--- openr2/trunk/debian/rules (original)
+++ openr2/trunk/debian/rules Sat Apr  3 11:48:59 2010
@@ -13,7 +13,7 @@
 DEBVERSION:=$(shell head -n 1 debian/changelog \
 		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 DEB_NOEPOCH_VERSION:=$(shell echo $(DEBVERSION) | cut -d':' -f 2)
-DEB_SRC_VERSION:=$(shell echo $(DEB_NOEPOCH_VERSION) | sed -e 's/-[0-9.]*$$//')
+DEB_SRC_VERSION:=$(shell echo $(DEB_NOEPOCH_VERSION) | sed -e 's/-[0-9.a-z]*$$//')
 UPVERSION:=$(shell echo $(DEB_SRC_VERSION) | sed -e 's/[.~]dfsg//' -e 's/~\(\(rc\|beta\)[0-9]\)/\1/')
 
 FILENAME := $(PACKAGE)_$(DEB_SRC_VERSION).orig.tar.gz




More information about the Pkg-voip-commits mailing list