Source: cylc
Version: 6.11.2-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to