From 30e89d91ed86a61b3db994639cb6fb70df6fa6d7 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Dec 14 2008 06:26:31 +0000 Subject: - Run unit tests only on releases with glib2 >= 2.16 --- diff --git a/libgee-0.1.4-notest.diff b/libgee-0.1.4-notest.diff new file mode 100644 index 0000000..8ebd8b2 --- /dev/null +++ b/libgee-0.1.4-notest.diff @@ -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 diff --git a/libgee.spec b/libgee.spec index 69e950f..0bdab8c 100644 --- a/libgee.spec +++ b/libgee.spec @@ -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 - 0.1.4-2 +- Run unit tests only on releases with glib2 >= 2.16 + * Sat Dec 13 2008 Michel Salim - 0.1.4-1 - Update to 0.1.4