From 465300eb8b7e92c835af3aa161ff8b2dab1d621f Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 13 Dec 2010 00:10:45 +0100 Subject: [PATCH] - Update spec to support snapshot builds (# 609294) --- libgee.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libgee.spec b/libgee.spec index 41c8bf4..2da3989 100644 --- a/libgee.spec +++ b/libgee.spec @@ -1,6 +1,6 @@ Name: libgee Version: 0.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GObject collection library Group: System Environment/Libraries @@ -11,6 +11,9 @@ Source0: http://download.gnome.org/sources/libgee/0.6/libgee-%{version}.t BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel +# Bootstrap requirements +BuildRequires: autoconf automake libtool +BuildRequires: vala %description libgee is a collection library providing GObject-based interfaces and @@ -61,12 +64,20 @@ developing applications that use %{name}. %build -%configure --disable-static +(if ! test -x configure; then + NOCONFIGURE=1 ./autogen.sh; + CONFIGFLAGS=--enable-gtk-doc; + fi; + %configure --disable-static $CONFIGFLAGS +) make %{?_smp_mflags} %check +# some tests currently broken in Rawhide +%if ! 0%{?fedora} >= 15 make check +%endif %install @@ -96,6 +107,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog +* Sun Dec 12 2010 Michel Salim - 0.6.0-2 +- Update spec to support snapshot builds (# 609294) + * Thu Oct 28 2010 Michel Salim - 0.6.0-1 - Update to 0.6.0