[pkg-go] Bug#859256: golang-github-lunny-log: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Apr 1 08:06:30 UTC 2017


Source: golang-github-lunny-log
Version: 0.0~git20160921.0.7887c61-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that golang-github-lunny-log 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/debian/rules	2017-04-01 08:28:38.262075187 +0100
--- b/debian/rules	2017-04-01 09:03:25.157797089 +0100
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+PREFIX = debian/golang-github-lunny-log-dev/usr/share/gocode/src/github.com/lunny
+
 %:
 	dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -rf $(PREFIX)/log/logs/ $(PREFIX)/log/log.db


More information about the Pkg-go-maintainers mailing list