From 1a0526d893771a72f9cb52a92819a4d6cffb48b1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Fixes to build in mock. --- flexdll/mingw32-flexdll.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 1.8.3.1