[SCM] showq/master: Fix get-orig-source.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Tue Nov 3 10:27:37 UTC 2015
The following commit has been merged in the master branch:
commit eb7c32359cc6490447f2c60603027b14c44fc073
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Tue Nov 3 11:08:12 2015 +0100
Fix get-orig-source.
diff --git a/debian/rules b/debian/rules
index 52e95ef..30a8c94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,9 +2,10 @@
# -*- makefile -*-
upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p')
-dfsg_version = $(upstream_version)~dfsg0
-pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
git_date= $(shell date +%Y%m%d)
+dfsg_version = $(upstream_version)+git$(git_date)~dfsg0
+pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
+
export LINKFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -ldl
@@ -35,7 +36,7 @@ get-orig-source:
git clone git://github.com/harryhaaren/showq
rm -fR $(pkg)/.git
rm -fR $(pkg)/.gitignore
- tar cf $(pkg)+git$(git_date)_$(dfsg_version).orig.tar $(pkg)
- xz -zf $(pkg)+git$(git_date)_$(dfsg_version).orig.tar
+ tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)
+ xz -zf $(pkg)_$(dfsg_version).orig.tar
rm -rf $(pkg)
- mv $(pkg)+git$(git_date)_$(dfsg_version).orig.tar.xz ../$(pkg)+git$(git_date)_$(dfsg_version).orig.tar.xz
+ mv $(pkg)_$(dfsg_version).orig.tar.xz ../$(pkg)_$(dfsg_version).orig.tar.xz
--
showq packaging
More information about the pkg-multimedia-commits
mailing list