Re-enable fam, put it in separate subpackage

This commit is contained in:
Tomas Bzatek 2012-10-10 17:41:56 +02:00
parent f328d62aff
commit 7e37219787

View File

@ -1,7 +1,7 @@
Summary: A library of handy utility functions Summary: A library of handy utility functions
Name: glib2 Name: glib2
Version: 2.34.0 Version: 2.34.0
Release: 3%{?dist} Release: 4%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gtk.org URL: http://www.gtk.org
@ -55,6 +55,15 @@ BuildArch: noarch
%description doc %description doc
The glib2-doc package includes documentation for the GLib library. 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}
BuildRequires: gamin-devel
%description fam
The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO.
%prep %prep
%setup -q -n glib-%{version} %setup -q -n glib-%{version}
%patch0 -p1 %patch0 -p1
@ -67,7 +76,6 @@ rm -f configure
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \ %configure $CONFIGFLAGS \
--enable-systemtap \ --enable-systemtap \
--disable-fam \
--disable-static --disable-static
) )
@ -178,7 +186,13 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%files doc %files doc
%doc %{_datadir}/gtk-doc/html/* %doc %{_datadir}/gtk-doc/html/*
%files fam
%{_libdir}/gio/modules/libgiofam.so
%changelog %changelog
* Wed Oct 10 2012 Tomas Bzatek <tbzatek@redhat.com> - 2.34.0-4
- Re-enable fam, put it in separate subpackage
* Wed Oct 10 2012 Matthias Clasen <mclasen@redhat.com> - 2.34.0-3 * Wed Oct 10 2012 Matthias Clasen <mclasen@redhat.com> - 2.34.0-3
- Disable fam. We use the inotify implementation at runtime anyway. - Disable fam. We use the inotify implementation at runtime anyway.
See http://lists.fedoraproject.org/pipermail/devel/2012-October/172438.htm See http://lists.fedoraproject.org/pipermail/devel/2012-October/172438.htm