commit 9b5bbe5e222fe7261cce4fa737bc6a5e6849fdbc
Author: Erik van Pienbroek <epienbro(a)fedoraproject.org>
Date: Fri Oct 5 16:20:21 2012 +0200
Added BR on the autotools as it is needed for patch2
mingw-glib2.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/mingw-glib2.spec b/mingw-glib2.spec
index 2a09122..dd93dc2 100644
--- a/mingw-glib2.spec
+++ b/mingw-glib2.spec
@@ -35,6 +35,9 @@ BuildRequires: gettext
# Native version required for glib-genmarshal
BuildRequires: glib2-devel >= 2.31.20
+# Needed for patch2
+BuildRequires: autoconf automake libtool
+
#
https://bugzilla.gnome.org/show_bug.cgi?id=675516
Patch0: 0001-Don-t-start-a-DBus-server-when-built-as-static-lib.patch
@@ -88,6 +91,8 @@ Static version of the MinGW Windows GLib2 library.
%patch1 -p1
%patch2 -p1
+autoreconf -i --force
+
%build
#GLib can't build static and shared libraries in one go, so we build GLib twice