[SCM] mate-common Debian package branch, master, updated. 8aa7f3c8107aa3a201dbffb93f11b220a1e310d8
Mike Gabriel
sunweaver at moszumanska.debian.org
Wed Mar 5 21:41:01 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-mate/mate-common.git;a=commitdiff;h=d469cfe
The following commit has been merged in the master branch:
commit d469cfeea763c0963e3106f6604b7bf7792844ba
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Mar 5 22:38:20 2014 +0100
Revert "Remove hack for 1.7 previous wrong version"
This reverts commit 9c4abad59d69ac95d3a5b1c19449407e890094de.
---
debian/rules | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index fdc07f1..89f74e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,16 @@
%:
dh $@
+PKD = $(abspath $(dir $(MAKEFILE_LIST)))
+PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
+UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
+REALUVER = $(shell echo $(UVER) | sed -e s/1.7.1.is.//)
+
get-orig-source:
- uscan --noconf --force-download --rename --download-current-version --destdir=.. ; \
+# keep this if clause as long 1.6.x of mate-common upstream is packaged
+ if [ "$(UVER)" = "1.7.1.is.$(REALUVER)" ]; then \
+ uscan --noconf --force-download --rename --download-version $(REALUVER) --destdir=.. ; \
+ mv -v ../$(PKG)_$(REALUVER).orig.tar.xz ../$(PKG)_$(UVER).orig.tar.xz; \
+ else \
+ uscan --noconf --force-download --rename --download-current-version --destdir=.. ; \
+ fi
--
mate-common Debian package
More information about the pkg-mate-commits
mailing list