Bug#844236: weblint-perl: man page title is wrong if build directory isn't named ${package}-${version}

Daniel Shahaf danielsh at apache.org
Sun Feb 5 06:50:38 UTC 2017


Daniel Shahaf wrote on Sun, Nov 13, 2016 at 16:27:10 +0000:
> 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.

Ping?

See also #844228 and #844232 for similar patches to other packages.

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 pkg-perl-maintainers mailing list