Source: seqan2
Version: 2.3.1+dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
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@g' 
| \
+        tr '\r' '\n' | \
     > ${mandir}/${bin}.1
 done

Reply via email to