On 05/31/2015 03:53 PM, Reiner Herrmann wrote:
> While working on Debian's “reproducible builds” effort [1], we have
> noticed that vim doesn't build reproducibly.

I just noticed that the building user is also embedded.
A patch setting this to a constant value (like already done for modified-by)
is attached.

Regards,
 Reiner

diff --git a/debian/rules b/debian/rules
index f5ec612..3d37ecb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ else
   DEB_VERSION_UPSTREAM := $(shell dpkg-parsechangelog | sed -n '/^Version:/{s/Version: *\([^:]*:\)\?\([^-]*\)-.*/\2/;p;q}')
 endif
 
-BUILDER := $(shell echo $${DEBEMAIL:-$${EMAIL:-$$(echo $$LOGNAME@$$(cat /etc/mailname 2> /dev/null))}})
+BUILDER := "pkg-vim-maintain...@lists.alioth.debian.org"
 
 MAKETEST := no
 ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
@@ -39,7 +39,7 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
 
 CFGFLAGS := --prefix=/usr --mandir='$${prefix}'/share/man --without-local-dir
-CFGFLAGS += --with-modified-by="pkg-vim-maintain...@lists.alioth.debian.org"
+CFGFLAGS += --with-modified-by="$(BUILDER)"
 CFGFLAGS += --with-compiledby="$(BUILDER)"
 CFGFLAGS += --enable-fail-if-missing
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to