Include a bugfix for GCC 4.4
[fedora-mingw.git] / nsis / mingw32-nsis.spec
index 5d299f6..76b94d3 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           mingw32-nsis
 Version:        2.43
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Nullsoft Scriptable Install System
 
 License:        zlib and CPL
@@ -22,10 +22,16 @@ BuildRequires:  mingw32-gcc-c++
 BuildRequires:  mingw32-binutils
 BuildRequires:  python
 BuildRequires:  scons
-BuildRequires:  wxGTK-devel
 
 # since nsis a 32 bit only apps
-ExclusiveArch:  i386 ppc
+#ExclusiveArch:  %{ix86} ppc
+#BuildRequires:  wxGTK-devel
+# The above is only required for Koji.  In mock we _can_ build on
+# x86_64 provided we have the 32 bit libraries required by the next
+# two lines.
+BuildRequires:  /usr/include/gnu/stubs-32.h
+BuildRequires:  /usr/lib/libwx_baseu-2.8.so
+
 
 %description
 NSIS, the Nullsoft Scriptable Install System, is a script-driven
@@ -71,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.43-2
+- Rebuild for mingw32-gcc 4.4
+
 * Fri Feb 13 2009 Levente Farkas <lfarkas@lfarkas.org> - 2.43-1
 - update to the latest upstream