From 447c87b5c23a6914188a9f0e536b28b68f660c60402a7823e564ca19d8761298 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 9 Nov 2017 13:56:36 +0000 Subject: [PATCH] Accepting request 538561 from home:bmwiedemann:branches:Base:System Do not store build logs in the package to make the package build result reproducible OBS-URL: https://build.opensuse.org/request/show/538561 OBS-URL: https://build.opensuse.org/package/show/Base:System/libsmbios?expand=0&rev=30 --- libsmbios.changes | 6 ++++++ libsmbios.spec | 13 +++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) 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