diff --git a/libsmbios.changes b/libsmbios.changes index 20de4f1..d31e168 100644 --- a/libsmbios.changes +++ b/libsmbios.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 3 05:06:47 UTC 2017 - bwiedemann@suse.com + +- Do not store build logs in the package to make the + package build result reproducible + ------------------------------------------------------------------- Fri Sep 22 13:09:57 UTC 2017 - josef.moellers@suse.com diff --git a/libsmbios.spec b/libsmbios.spec index 0b824ca..1756d7b 100644 --- a/libsmbios.spec +++ b/libsmbios.spec @@ -251,9 +251,7 @@ chmod +x ./configure mkdir -p out/libsmbios_c mkdir -p out/libsmbios_c++ -make CFLAGS="-Werror" %{?_smp_mflags} 2>&1 | tee build-%{_arch}.log - -echo \%doc _build/build-%{_arch}.log > buildlogs.txt +make CFLAGS="-Werror" %{?_smp_mflags} %check runtest() { @@ -261,11 +259,10 @@ runtest() { %if 0%{?run_unit_tests} pushd _$1$2 ../configure - make -e $1 CFLAGS="$CFLAGS -DDEBUG_OUTPUT_ALL" 2>&1 | tee $1$2.log - touch -r ../configure.ac $1$2-%{_arch}.log - make -e $1 2>&1 | tee $1$2.log + make -e $1 CFLAGS="$CFLAGS -DDEBUG_OUTPUT_ALL" + touch -r ../configure.ac + make -e $1 popd - echo \%doc _$1$2/$1$2-%{_arch}.log >> _build/buildlogs.txt %endif } @@ -381,7 +378,7 @@ rm -rf %{buildroot} %{_libdir}/libsmbios_c.so.* %{_libdir}/libsmbios.so.* -%files -n libsmbios-devel -f _build/buildlogs.txt +%files -n libsmbios-devel %defattr(-,root,root,-) %doc COPYING-GPL COPYING-OSL src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt %{_includedir}/smbios