From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Fri, 14 Nov 2008 11:18:09 +0000 (+0000) Subject: Fixes to build in mock. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1a0526d893771a72f9cb52a92819a4d6cffb48b1;p=fedora-mingw.git Fixes to build in mock. --- 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