Source: avahi
Version: 0.6.32~rc+dfsg-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 avahi could not be built reproducibly.
During build a minimal default ChangeLog is generated by autotools,
which is used as the upstream changelog. It includes a timestamp
of the build, which makes it unreproducible.

The attached patch uses the docs/NEWS file as upstream changelog
instead, as the autogenerated stub is not useful at all, and
the NEWS file actually is a detailed changelog by upstream.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index c65020a..9751f5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,7 +51,10 @@ override_dh_installinit:
 	dh_installinit -pavahi-dnsconfd --restart-after-upgrade
 
 override_dh_installdocs:
-	dh_installdocs --all docs/NEWS docs/README
+	dh_installdocs --all docs/README
+
+override_dh_installchangelogs:
+	dh_installchangelogs docs/NEWS
 
 override_dh_strip:
 	dh_strip --dbg-package=avahi-dbg

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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