diff --git a/glib2.spec b/glib2.spec index de68cd8..9998293 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Summary: A library of handy utility functions Name: glib2 -Version: 2.37.0 +Version: 2.37.1 Release: 1%{?dist} License: LGPLv2+ Group: System Environment/Libraries @@ -38,7 +38,7 @@ as an event loop, threads, dynamic loading, and an object system. %package devel Summary: A library of handy utility functions Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: glib2-static < 2.32.1-2 %description devel @@ -56,12 +56,21 @@ The glib2-doc package includes documentation for the GLib library. %package fam Summary: FAM monitoring module for GIO Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: gamin-devel %description fam The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO. +%package tests +Summary: Tests for the glib2 package +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The glib2-tests package contains tests that can be used to verify +the functionality of the installed glib2 package. + %prep %setup -q -n glib-%{version} @@ -70,7 +79,8 @@ The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; %configure $CONFIGFLAGS \ --enable-systemtap \ - --disable-static + --disable-static \ + --enable-installed-tests ) make %{?_smp_mflags} @@ -183,7 +193,15 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules %files fam %{_libdir}/gio/modules/libgiofam.so +%files tests +%{_libexecdir}/glib/installed-tests +%{_datadir}/installed-tests + %changelog +* Tue May 28 2013 Matthias Clasen - 2.37.1-1 +- Update to 2.37.1 +- Add a tests subpackage + * Sat May 04 2013 Kalev Lember - 2.37.0-1 - Update to 2.37.0 diff --git a/sources b/sources index 6fb2e55..097e401 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a2dabe3887b05abd0fd4ae1c276f080c glib-2.37.0.tar.xz +bee51d61aa0d9b4071e997ff6c5fed5e glib-2.37.1.tar.xz