diff --git a/sudo.changes b/sudo.changes index 4930079..b4ece19 100644 --- a/sudo.changes +++ b/sudo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 12 19:14:48 UTC 2018 - bwiedemann@suse.com + +- Build with make -B to make package build reproducible + ------------------------------------------------------------------- Wed May 2 16:19:56 UTC 2018 - michael@stroeder.com diff --git a/sudo.spec b/sudo.spec index 39f285e..71bfbaf 100644 --- a/sudo.spec +++ b/sudo.spec @@ -104,7 +104,8 @@ export LDFLAGS="-pie" --with-passprompt="[sudo] password for %%p: " \ --with-rundir=%{_localstatedir}/lib/sudo \ --with-sssd -make %{?_smp_mflags} +# -B required to make every build give the same result - maybe from bad build deps in Makefiles? +make -B %{?_smp_mflags} %install %make_install install_uid=`id -u` install_gid=`id -g`