[Pkg-voip-commits] r6819 - in /lcr/trunk/debian: changelog rules

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Wed Feb 25 11:06:24 UTC 2009


Author: tzafrir-guest
Date: Wed Feb 25 11:06:23 2009
New Revision: 6819

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6819
Log:
* Fix version handling in get-orig-source
* A single changelog entry. Thus ITP will actually be closed.

Modified:
    lcr/trunk/debian/changelog
    lcr/trunk/debian/rules

Modified: lcr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/lcr/trunk/debian/changelog?rev=6819&op=diff
==============================================================================
--- lcr/trunk/debian/changelog (original)
+++ lcr/trunk/debian/changelog Wed Feb 25 11:06:23 2009
@@ -1,6 +1,7 @@
 lcr (1.3~20090107-1) unstable; urgency=low
 
   [ Joerg Dorchain ]
+  * Initial release (Closes: #510476)  ITP
   * New upstream version
 
   [ Victor Seva ]
@@ -11,11 +12,5 @@
   * Changed the upstream version ( 0.0.DATE -> 1.3~DATE ).
     Seems that they are using that versioning style. 
 
- -- Joerg Dorchain <joerg at dorchain.net>  Fri, 26 Feb 2009 14:31:26 +0100
-
-lcr (0.0.20081124-1) unstable; urgency=low
-
-  * Initial release (Closes: #510476)  ITP
-
  -- Joerg Dorchain <joerg at dorchain.net>  Fri, 26 Dec 2008 11:46:23 +0100
 

Modified: lcr/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/lcr/trunk/debian/rules?rev=6819&op=diff
==============================================================================
--- lcr/trunk/debian/rules (original)
+++ lcr/trunk/debian/rules Wed Feb 25 11:06:23 2009
@@ -6,13 +6,13 @@
 
 DEBVERSION:=$(shell head -n 1 debian/changelog \
                     | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~[0-9.]*//')
-UPVERSION_:=$(shell echo $(UPVERSION) | sed -e 's/\./_/g')
-URLVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/[0-9.]*~//' -e 's/\./_/g' )
+LOCAL_TAR_VER:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//')
+UP_MAJOR_VER:=$(shell echo $(LOCAL_TAR_VER) | sed -e 's/~[0-9.]*//')
+UP_DATE_VER:=$(shell echo $(LOCAL_TAR_VER) | sed -e 's/[0-9.]*~//')
 
-UPFILENAME := lcr_$(URLVERSION).tar.gz
-FILENAME := lcr_$(UPVERSION_)_$(URLVERSION).orig.tar.gz
-URL := http://isdn.eversberg.eu/download/lcr-$(UPVERSION)/$(UPFILENAME)
+UPFILENAME := lcr_$(UP_DATE_VER).tar.gz
+FILENAME := lcr_$(LOCAL_TAR_VER).orig.tar.gz
+URL := http://isdn.eversberg.eu/download/lcr-$(UP_MAJOR_VER)/$(UPFILENAME)
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -104,7 +104,7 @@
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"
-	@@echo "Upstream version:        $(UPVERSION)"
+	@@echo "Upstream version:        $(UP_DATE_VER)"
 
 get-orig-source:
 	@@dh_testdir




More information about the Pkg-voip-commits mailing list