diff --git a/pygobject2.spec b/pygobject2.spec index 71ce276..6943844 100644 --- a/pygobject2.spec +++ b/pygobject2.spec @@ -24,11 +24,15 @@ Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.21/pygobject-%{versio ### Build Dependencies ### -BuildRequires: automake BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} -BuildRequires: libtool BuildRequires: python2-devel >= %{python2_version} +BuildRequires: pycairo +# Bootstrap requirements +BuildRequires: automake autoconf libtool + +# The cairo override module depends on this +Requires: pycairo %description The %{name} package provides a convenient wrapper for the GObject library @@ -70,7 +74,7 @@ This package contains documentation files for %{name}. %build %configure -make +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -112,15 +116,17 @@ rm examples/Makefile* %{_datadir}/pygobject/xsl %changelog -* Wed Jul 7 2010 Colin Walters - 2.21.4-1 +* Wed Jul 7 2010 Colin Walters - 2.21.4-2 - Update to latest upstream - Drop upstreamed patches +- Require pycairo, since we have a module that uses it - Drop libtool overriding; was not commented and seems fine without - Drop --enable-thread, it's default now - Drop --enable-pygi, it's default now - Drop clean section, no longer needed in F-14 - Drop python-sitearch copy&paste, no longer needed in F-14 +- Add SMP flags to make * Thu May 27 2010 Colin Walters - 2.21.1-9 - Readd my patch to not blow up mysteriously