From 42890a64ebc3783366e3eefac79e886853fa4f7b Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Mon, 2 Feb 2009 18:53:35 +0100 Subject: Make sure tests would work (if there were any) --- mingw32-libltdl.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec index 29d567c..8eb51c6 100644 --- a/mingw32-libltdl.spec +++ b/mingw32-libltdl.spec @@ -4,8 +4,8 @@ %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 this to run tests (requires Wine, and won't work inside mock or Koji). +# Note: As of libtool-1.5.26, libltdl does not contain any tests at all. %define run_tests 0 Summary: Runtime libraries for GNU Libtool Dynamic Module Loader @@ -30,6 +30,10 @@ BuildRequires: mingw32-filesystem >= 30 BuildRequires: mingw32-binutils BuildRequires: mingw32-gcc +%if %run_tests +BuildRequires: wine +%endif + BuildArch: noarch @@ -66,6 +70,7 @@ make #%{?_smp_mflags} %check %if %run_tests +cd libltdl make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false) %endif -- cgit