Without this patch, /usr/src/linux-@VERSION@-@RELEASE_SHORT@-obj/x86_64/vanilla/.kernel-binary.spec.buildenv contained rpm %_smp_mflags in a line like export MAKE_ARGS=" --output-sync -j4" This made it hard to produce bit-identical builds. --- rpm/kernel-binary.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in index a266d64c45..baa5129a4e 100644 --- a/rpm/kernel-binary.spec.in +++ b/rpm/kernel-binary.spec.in @@ -824,6 +824,8 @@ if [ %CONFIG_MODULES = y ]; then fi rm -rf %{buildroot}/lib/firmware +# file contains number of CPUs, making builds hard to reproduce +find %{buildroot}/usr/src/linux-*-obj/ -name .kernel-binary.spec.buildenv -delete add_dirs_to_filelist() { sed -rn ' -- 2.16.4 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org