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
This commit is contained in:
parent
9fa557d636
commit
447c87b5c2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user