[SCM] lives/master: Strip repack out of the upstream version in debian/rules

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Jan 26 11:17:24 UTC 2012


The following commit has been merged in the master branch:
commit 1416ba5d8a653876de636cd5946d1f1231522897
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Jan 26 11:13:10 2012 +0100

    Strip repack out of the upstream version in debian/rules

diff --git a/debian/rules b/debian/rules
index 7321382..40bd4f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export REPACK_SH=$(CURDIR)/debian/repack.sh
 LDFLAGS:=
 CFLAGS:=
 
-UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep 'Version:' | sed 's/^Version:\s\(.*\)-.*/\1/')
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep 'Version:' | sed 's/^Version:\s\(.*\)\(~ds[0-9]*\)-.*/\1/')
 
 %:
 	dh $@ --parallel --with=autotools_dev,python2

-- 
lives packaging



More information about the pkg-multimedia-commits mailing list