From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Thu, 20 Nov 2008 10:15:51 +0000 (+0000) Subject: Revert: Don't use _mingw32_configure macro - doesn't work here. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=761e6cc7e8b36805fdd8e596f5f344c1772582b5;p=fedora-mingw.git Revert: Don't use _mingw32_configure macro - doesn't work here. --- diff --git a/runtime/mingw32-runtime.spec b/runtime/mingw32-runtime.spec index ae54f0c..09a170d 100644 --- a/runtime/mingw32-runtime.spec +++ b/runtime/mingw32-runtime.spec @@ -6,7 +6,7 @@ Name: mingw32-runtime Version: 3.15.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MinGW Windows cross-compiler runtime and root filesystem License: Public Domain @@ -15,8 +15,6 @@ URL: http://www.mingw.org/ Source0: http://dl.sourceforge.net/sourceforge/mingw/mingwrt-%{version}-mingw32-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -#Patch0: mingw32-runtime-3.15.1-useconds_t.patch - BuildArch: noarch BuildRequires: mingw32-filesystem >= 26 @@ -42,11 +40,14 @@ MinGW Windows cross-compiler runtime, base libraries. %prep %setup -q -n mingwrt-%{version}-mingw32 -#%patch0 -p1 %build -%{_mingw32_configure} +# NB: Do not use _mingw32_configure here as it won't work. +CFLAGS="-I%{_mingw32_includedir}" \ +./configure \ + --build=%_build \ + --host=%{_mingw32_host} make @@ -76,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Nov 20 2008 Richard W.M. Jones - 3.15.1-5 +- Don't use _mingw32_configure macro - doesn't work here. + * Wed Nov 19 2008 Richard W.M. Jones - 3.15.1-4 - Rebuild against mingw32-filesystem 37