- Run unit tests only on releases with glib2 >= 2.16

This commit is contained in:
Michel Alexandre Salim 2008-12-14 06:26:31 +00:00
parent 3c35e4e35d
commit 30e89d91ed
2 changed files with 20 additions and 1 deletions

10
libgee-0.1.4-notest.diff Normal file
View File

@ -0,0 +1,10 @@
--- libgee-0.1.4/Makefile.in.notest 2008-11-01 15:23:14.000000000 -0400
+++ libgee-0.1.4/Makefile.in 2008-12-13 13:20:42.000000000 -0500
@@ -207,7 +207,6 @@
NULL =
SUBDIRS = \
gee \
- tests \
$(NULL)
pkgconfigdir = $(libdir)/pkgconfig

View File

@ -1,12 +1,13 @@
Name: libgee
Version: 0.1.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: GObject collection library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://live.gnome.org/Libgee
Source0: http://download.gnome.org/sources/libgee/0.1/libgee-%{version}.tar.bz2
Patch0: libgee-0.1.4-notest.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel
@ -47,6 +48,9 @@ developing applications that use %{name}.
%prep
%setup -q
%if 0%{?fedora} < 9
%patch0 -p1 -b .notest
%endif
%build
@ -55,7 +59,9 @@ make %{?_smp_mflags}
%check
%if 0%{?fedora} >= 9
make check
%endif
%install
@ -87,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-2
- Run unit tests only on releases with glib2 >= 2.16
* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4