[Pkg-voip-commits] r6896 - /rtpproxy/trunk/debian/rules

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sat Mar 21 23:01:07 UTC 2009


Author: tzafrir-guest
Date: Sat Mar 21 23:01:07 2009
New Revision: 6896

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6896
Log:
Fix get-orig-source

Modified:
    rtpproxy/trunk/debian/rules

Modified: rtpproxy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/rtpproxy/trunk/debian/rules?rev=6896&op=diff
==============================================================================
--- rtpproxy/trunk/debian/rules (original)
+++ rtpproxy/trunk/debian/rules Sat Mar 21 23:01:07 2009
@@ -22,9 +22,10 @@
 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$$//')
+UPVER_REAL:=$(shell echo $(UPVERSION) | sed -e 's/~beta/.beta/')
 
 FILENAME := $(PKGNAME)_$(UPVERSION).orig.tar.gz
-URL := http://b2bua.org/chrome/site/rtpproxy-$(UPVERSION).tar.gz
+URL := http://b2bua.org/chrome/site/rtpproxy-$(UPVER_REAL).tar.gz
 
 MANPAGE := debian/$(PKGNAME).8
 
@@ -94,7 +95,7 @@
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
 	@@echo Downloading $(FILENAME) from $(URL) ...
-	@@wget -N -nv -T10 -t3 ../tarballs/$(FILENAME) $(URL)
+	@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
 	@@echo Repacking without upstream debian/...
 	@@mkdir -p ../tarballs/rtpproxy-$(UPVERSION).tmp/
 	@@cd ../tarballs/rtpproxy-$(UPVERSION).tmp ; \




More information about the Pkg-voip-commits mailing list