--- a/debian/patches/16-repro2 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/16-repro2 2020-08-04 10:44:00.537110331 +0100 @@ -0,0 +1,16 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-08-04 + +--- nmh-1.7.1.orig/config/version.sh ++++ nmh-1.7.1/config/version.sh +@@ -7,6 +7,9 @@ set -e + + version=${1?} + host=`uname -n` ++if [ "${SOURCE_DATE_EPOCH}" != "" ]; then ++ host="`dpkg-vendor --query Vendor`" ++fi + if test -d "$srcdir/.git"; then + git=" `git -C $srcdir describe --long --dirty`" + else --- a/debian/patches/series 2020-08-04 10:36:03.340060054 +0100 --- b/debian/patches/series 2020-08-04 10:43:59.689109178 +0100 @@ -10,3 +10,4 @@ 13-oauth 14-legacycreds 15-bcc-pipe +16-repro2