[Pkg-voip-commits] r6951 - /yxa/trunk/debian/rules
mikma-guest at alioth.debian.org
mikma-guest at alioth.debian.org
Tue Mar 31 20:05:07 UTC 2009
Author: mikma-guest
Date: Tue Mar 31 20:05:06 2009
New Revision: 6951
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6951
Log:
Adopted svn version detection pattern
Modified:
yxa/trunk/debian/rules
Modified: yxa/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/yxa/trunk/debian/rules?rev=6951&op=diff
==============================================================================
--- yxa/trunk/debian/rules (original)
+++ yxa/trunk/debian/rules Tue Mar 31 20:05:06 2009
@@ -37,9 +37,9 @@
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.~]*$$//' -e 's/.dfsg$$//')
-ifeq (svn,$(findstring svn,$(UPVERSION)))
+ifeq (+20,$(findstring +20,$(UPVERSION)))
URL := svn://anonsvn.it.su.se/yxa/trunk
-SVNREV := {$(shell echo $(DEBVERSION) | sed -e 's/^.*+//' | sed -e 's/svn-.*//')}
+SVNREV := {$(shell echo $(DEBVERSION) | sed -e 's/^.*+//' | sed -e 's/-.*//')}
else
ifeq (,$(findstring +2,$(UPVERSION)))
TARVERSION:=$(shell echo $(UPVERSION) | sed -e 's/~//')
More information about the Pkg-voip-commits
mailing list