Dominique Leuenberger 2017-11-14 11:39:51 +00:00 committed by Git OBS Bridge
commit 8d13c6fa60
2 changed files with 11 additions and 8 deletions

View File

@ -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

View File

@ -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