[SCM] kodi/master: Handle original tarballs properly when epoch is present in the package version
rbalint at users.alioth.debian.org
rbalint at users.alioth.debian.org
Thu Nov 17 22:28:17 UTC 2016
The following commit has been merged in the master branch:
commit ff7b7377262068593427d7be5315a6de49f03546
Author: Balint Reczey <balint at balintreczey.hu>
Date: Thu Nov 17 15:18:48 2016 +0100
Handle original tarballs properly when epoch is present in the package version
diff --git a/debian/rules b/debian/rules
index c6e39ce..5609364 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Use package's version in Kodi
VERSION := $(shell dpkg-parsechangelog -S Version)
-UPSTREAM_VERSION := $(shell dpkg-parsechangelog -S Version| sed 's/-[^-]*$$//')
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog -S Version| sed 's/[0-9]*://;s/-[^-]*$$//')
DVDNAV_COMPONENT = libdvdnav-5-0-3
DVDREAD_COMPONENT = libdvdread-5-0-3
--
kodi packaging
More information about the pkg-multimedia-commits
mailing list