--
Levente "Si vis pacem para bellum!"
--- /home/lfarkas/tmp/fedora-mingw--devel/w32api/mingw32-w32api.spec 2008-11-21 13:15:52.000000000 +0100
+++ mingw32-w32api.spec 2008-11-21 13:59:00.000000000 +0100
@@ -5,8 +5,8 @@
%define __find_provides %{_mingw32_findprovides}
Name: mingw32-w32api
-Version: 3.12
-Release: 3%{?dist}
+Version: 3.12
+Release: 4%{?dist}
Summary: MinGW Windows cross-compiler Win32 header files
License: Public Domain
@@ -15,14 +15,13 @@
Source0:
http://dl.sourceforge.net/sourceforge/mingw/w32api-%%7Bversion%7D-mingw32-sr...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
+BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 23
+BuildRequires: mingw32-filesystem >= 38
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gcc
BuildRequires: mingw32-runtime
-Requires: mingw32-filesystem >= 23
Requires: mingw32-binutils
Requires: mingw32-gcc
Requires: mingw32-runtime
@@ -30,11 +29,6 @@
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw32-w32api-bootstrap
-Obsoletes: mingw-w32api-bootstrap
-
-Provides: mingw-w32api = %{version}-%{release}
-Obsoletes: mingw-w32api < 3.11-7
-
%description
MinGW Windows cross-compiler Win32 header files.
@@ -44,17 +38,13 @@
%setup -q -n w32api-%{version}-mingw32
%build
-./configure \
- --build=%_build \
- --host=%{_mingw32_host}
-
+%{_mingw32_configure}
make
%install
rm -rf $RPM_BUILD_ROOT
-
-make prefix=$RPM_BUILD_ROOT%{_mingw32_prefix} install
+%{_mingw32_makeinstall}
%clean
@@ -68,6 +58,9 @@
%changelog
+* Fri Nov 21 2008 Levente Farkas
lfarkas@lfarkas.org - 3.12-4
+- Enable _mingw32_configure
+
* Wed Nov 19 2008 Richard W.M. Jones
rjones@redhat.com - 3.12-3
- Rebuild against mingw32-filesystem 37