diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 18:53:35 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 18:53:35 +0100 |
commit | 42890a64ebc3783366e3eefac79e886853fa4f7b (patch) | |
tree | a536d2fef32eb3dbd9906323408d7999fb1cd9a8 | |
parent | 36fc3b5eaca4ed64c08809d515a3f00568d5786a (diff) | |
download | mingw32-libltdl-package-42890a64ebc3783366e3eefac79e886853fa4f7b.tar.gz mingw32-libltdl-package-42890a64ebc3783366e3eefac79e886853fa4f7b.tar.xz mingw32-libltdl-package-42890a64ebc3783366e3eefac79e886853fa4f7b.zip |
Make sure tests would work (if there were any)
-rw-r--r-- | mingw32-libltdl.spec | 9 |
1 files 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 |