From 402879316ebaff47fd0ef4ce68e25b433a8f0c21 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Mon, 2 Feb 2009 17:35:17 +0100 Subject: * Mon Feb 02 2009 Hans Ulrich Niedermann - 1.5.26-11 - conditionally run tests (instead of always commenting them out) - configure: Let implicit --host argument do its work --- mingw32-libltdl.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec index ea42291..29d567c 100644 --- a/mingw32-libltdl.spec +++ b/mingw32-libltdl.spec @@ -4,10 +4,14 @@ %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} +# Define this to run tests (requires Wine, and won't work +# inside mock or Koji). +%define run_tests 0 + Summary: Runtime libraries for GNU Libtool Dynamic Module Loader Name: mingw32-libltdl Version: 1.5.26 -Release: 10%{?dist} +Release: 11%{?dist} Group: System Environment/Libraries # Even though the source package contains files under # "GPLv2+ and LGPLv2+ and GFDL", the binary RPM only ships LGPLv2+ code. @@ -55,14 +59,15 @@ export F77=false export CFLAGS="$RPM_OPT_FLAGS -fPIC" # dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead: # %%_mingw32_configure does not make that error :) -%{_mingw32_configure} --host=%{_mingw32_target} --enable-shared +%{_mingw32_configure} --enable-shared # build not smp safe: make #%{?_smp_mflags} %check -#make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false) - +%if %run_tests +make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false) +%endif %install @@ -87,6 +92,10 @@ rm -rf %{buildroot} %changelog +* Mon Feb 2 2009 Hans Ulrich Niedermann - 1.5.26-11 +- conditionally run tests (instead of always commenting them out) +- configure: Let implicit --host argument do its work + * Mon Feb 2 2009 Hans Ulrich Niedermann - 1.5.26-10 - fix license: only consider content of binary RPM -- cgit