Bug#862484: seqan2: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat May 13 13:43:40 UTC 2017
Source: seqan2
Version: 2.3.1+dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that seqan2 could not be built reproducibly due to including the
number of processors on the build machine in the manpage.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/debian/generate_manpages b/debian/generate_manpages
index 636d9b3..ca5b8d0 100755
--- a/debian/generate_manpages
+++ b/debian/generate_manpages
@@ -11,6 +11,9 @@ for bin in `ls ${bindir}`; do
help2man --no-discard-stderr --no-info --name="XXX remove this line" --version-string="${version}" ${bindir}/${bin} | \
sed -e '/XXX remove this line/d' \
-e '/^\.SH DESCRIPTION$/d' \
- -e '/^============\+$/d' \
+ -e '/^============\+$/d' | \
+ tr '\n' '\r' | \
+ sed -e 's@\(Specify the number of threads.*\)Default:\r[0-9]*\.@\1 at g' | \
+ tr '\r' '\n' | \
> ${mandir}/${bin}.1
done
More information about the Reproducible-bugs
mailing list