Bug#857313: cylc: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Mar 9 22:12:18 UTC 2017


Source: cylc
Version: 6.11.2-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that cylc could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/VERSION	1970-01-01 01:00:00.000000000 +0100
--- b/VERSION	2017-03-09 22:08:04.026090348 +0000
@@ -0,0 +1 @@
+6.11.2
--- a/debian/rules	2017-03-09 21:39:39.863360902 +0000
--- b/debian/rules	2017-03-09 22:07:52.194043486 +0000
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+VERSION = $(shell dpkg-parsechangelog --show-field Version)
+
 # The magic debhelper rule:
 %:
 	dh  $@ --with python2
@@ -8,6 +10,7 @@
 	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


More information about the Reproducible-bugs mailing list