- Update spec to support snapshot builds (# 609294)

This commit is contained in:
Michel Alexandre Salim 2010-12-13 00:10:45 +01:00
parent bb046604a3
commit 465300eb8b

View File

@ -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 <salimma@fedoraproject.org> - 0.6.0-2
- Update spec to support snapshot builds (# 609294)
* Thu Oct 28 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.0-1
- Update to 0.6.0