Source: taggrepper
Version: 0.05-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that taggrepper could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, taggrepper can be built reproducibly in our current
experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad taggrepper.orig/taggrepper-0.05/debian/rules 
taggrepper/taggrepper-0.05/debian/rules
--- taggrepper.orig/taggrepper-0.05/debian/rules        2015-02-11 
22:43:34.793144511 +0000
+++ taggrepper/taggrepper-0.05/debian/rules     2015-02-11 22:47:06.114720683 
+0000
@@ -83,12 +83,12 @@
        $(INSTALL_FILE) -m 644 ChangeLog 
$(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog
        $(INSTALL_FILE) -m 644 debian/changelog 
$(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog.Debian
        for i in $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog*;do \
-               gzip -9v $$i; \
+               gzip -9nv $$i; \
        done;
        $(INSTALL_FILE) -m 644 debian/copyright 
$(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/copyright
        $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/man/man1
        $(INSTALL_FILE) -m 644 doc/$(PACKAGE_NAME).1 
$(PACKAGE_DIR)/usr/share/man/man1
-       gzip -9v $(PACKAGE_DIR)/usr/share/man/*/*
+       gzip -9nv $(PACKAGE_DIR)/usr/share/man/*/*
 # Strip binaries
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        strip -R.note -R.comment $(PACKAGE_DIR)/usr/bin/*
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to