summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-02-02 17:35:17 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-02-02 17:35:17 +0100
commit402879316ebaff47fd0ef4ce68e25b433a8f0c21 (patch)
treefdf0e1fb5d42c0f72c9ca40ba2e8a7a871e6c325
parent30c9de9629fb9610960957b287ac23bc6cb90f7c (diff)
downloadmingw32-libltdl-package-402879316ebaff47fd0ef4ce68e25b433a8f0c21.tar.gz
mingw32-libltdl-package-402879316ebaff47fd0ef4ce68e25b433a8f0c21.tar.xz
mingw32-libltdl-package-402879316ebaff47fd0ef4ce68e25b433a8f0c21.zip
* Mon Feb 02 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.26-11mingw32-libltdl-1.5.26-11.fc10
- conditionally run tests (instead of always commenting them out) - configure: Let implicit --host argument do its work
-rw-r--r--mingw32-libltdl.spec17
1 files 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 <hun@n-dimensional.de> - 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 <hun@n-dimensional.de> - 1.5.26-10
- fix license: only consider content of binary RPM