Source: libcommoncpp2 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Two man pages shipped in libcommoncpp2-doc include names based on the build path: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libcommoncpp2.html usr/share/man/man8/_build_1st_libcommoncpp2-1.8.1_inc_.8.1_inc_.3.gz vs. usr/share/man/man8/_build_2_libcommoncpp2-1.8.1_2nd_inc_.8.1_2nd_inc_.3.gz The attached patch fixes this by renaming these manpages in a debian/rules dh_installman lintian override. Thanks for maintaining libcommoncpp2! live well, vagrant
From 112e5a6e417eb2c9128350def5f997930c6275e3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 27 Dec 2020 01:15:11 +0000 Subject: [PATCH 3/3] debian/rules: Add dh_installman override to rename manpages with names based on the build path. --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/rules b/debian/rules index f227c11..ae36d6a 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,14 @@ override_dh_installexamples: # Remove Makefile which embeds binary paths and build paths rm -f debian/libcommoncpp2-doc/usr/share/doc/libcommoncpp2-dev/examples/Makefile +override_dh_installman: + dh_installman + # Rename manpages with embedded build path + mv -vf debian/libcommoncpp2-doc/usr/share/man/man*/*_inc_cc_*.3 \ + debian/libcommoncpp2-doc/usr/share/man/man3/libcommoncpp2_inc_cc_.3 + mv -vf debian/libcommoncpp2-doc/usr/share/man/man*/*_inc_.3 \ + debian/libcommoncpp2-doc/usr/share/man/man3/libcommoncpp2_inc_.3 + help2man: /usr/bin/help2man -N -S 'Debian GNU/Linux' -o debian/ccgnu2-config.8 ccgnu2-config \ -n 'script to get information about the installed version of libcommoncpp2' -- 2.20.1
signature.asc
Description: PGP signature