X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=flexdll%2Fmingw32-flexdll.spec;h=c30ba185337396969fad8ec6b338c8df7ed47d39;hb=1a0526d893771a72f9cb52a92819a4d6cffb48b1;hp=c828c9d0a0eb80fd168ff9f68403f57e6375d24b;hpb=7d78e8ae1963f5fb71fe43ebd5544397aa861e5c;p=fedora-mingw.git diff --git a/flexdll/mingw32-flexdll.spec b/flexdll/mingw32-flexdll.spec index c828c9d..c30ba18 100644 --- a/flexdll/mingw32-flexdll.spec +++ b/flexdll/mingw32-flexdll.spec @@ -6,6 +6,9 @@ %define debug_package %{nil} +# Running the tests requires Wine. +%define run_tests 0 + Name: mingw32-flexdll Version: 0.11 Release: 1%{?dist} @@ -27,6 +30,7 @@ BuildRequires: mingw32-filesystem >= 35 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: ocaml +BuildRequires: dos2unix %description @@ -82,7 +86,9 @@ strip flexlink.exe %check +%if %{run_tests} make -C test CC=%{_mingw32_cc} O=o CHAIN=mingw +%endif %install