[cylc] 02/11: Patch to fix FTBFS when version includes an underscore. Thanks to Chris Lamb. Closes: #857313

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Jul 19 12:33:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository cylc.

commit 941a63871f76b2931f8856dd7940a34256afd0f8
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Mar 29 18:55:01 2017 +0100

    Patch to fix FTBFS when version includes an underscore. Thanks to Chris Lamb. Closes: #857313
---
 debian/changelog | 7 +++++++
 debian/rules     | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2cb59fb..5ce8c46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cylc (6.11.2-6) unstable; urgency=medium
+
+  * Patch to fix FTBFS when version includes an underscore.
+    Thanks to Chris Lamb. Closes: #857313
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Wed, 29 Mar 2017 18:54:07 +0100
+
 cylc (6.11.2-5) unstable; urgency=medium
 
   * Fix broken symlinks. Closes: #858480
diff --git a/debian/rules b/debian/rules
index 0ff377d..1e74c2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,13 @@
 %:
 	dh  $@ --with python2
 
+VERSION = $(shell dpkg-parsechangelog --show-field Version)
+
 override_dh_auto_build:
 	PATH=$(PATH):$(CURDIR)/bin && $(MAKE)
 
 override_dh_auto_install:
+	echo $(VERSION) > VERSION
 	# Don't support gpanel. Requires gnome2's gnomeapplet.
 	rm -rf  bin/cylc-gpanel conf/gpanel
 	mkdir -p debian/tmp/usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cylc.git



More information about the debian-science-commits mailing list