Bug#844236: weblint-perl: man page title is wrong if build directory isn't named ${package}-${version}
Daniel Shahaf
danielsh at apache.org
Sun Nov 13 16:27:10 UTC 2016
Source: libhtml-lint-perl
Version: 2.22+dfsg-1
Severity: minor
Tags: patch upstream
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
Dear Maintainer,
Whilst working on the Reproducible Builds effort [0], we noticed that
libhtml-lint-perl could not be built reproducibly, due to `txt2man -p`
parsing the last component of the build directory.
Patch attached.
[0] https://reproducible-builds.org/
Cheers,
Daniel
[[[
diff --git a/debian/rules b/debian/rules
index 9d0898d..c5de181 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ DEB_UPSTREAM_TARBALL_MD5 = 13e14932f7b63db5e5dc54f608148c34
DEB_INSTALL_MANPAGES_weblint-perl := debian/weblint.1
common-build-indep::
- txt2man -p debian/weblint.txt > debian/weblint.1
+ txt2man -t weblint -s 1 -v "Linux Reference Manual" -r $$(dpkg-parsechangelog -SVersion) debian/weblint.txt > debian/weblint.1
common-binary-post-install-indep::
mv debian/libhtml-lint-perl/usr/bin debian/weblint-perl/usr
]]]
More information about the Reproducible-builds
mailing list