diff --git a/empathy.spec b/empathy.spec index ba3088d..e4dc4e5 100644 --- a/empathy.spec +++ b/empathy.spec @@ -12,7 +12,7 @@ Name: empathy Version: 2.30.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instant Messaging Client for GNOME Group: Applications/Communications @@ -106,6 +106,7 @@ install -m 0644 %{SOURCE1} ./README.ConnectionManagers %install rm -rf $RPM_BUILD_ROOT +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' @@ -120,33 +121,19 @@ desktop-file-install --vendor fedora --delete-original \ %{buildroot}%{_datadir}/applications/%{name}-accounts.desktop -%clean -rm -rf %{buildroot} - - %pre -if [ "$1" -gt 1 ]; then - export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||: -fi +%gconf_schema_prepare %{name}.schemas %post -export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) -gconftool-2 --makefile-install-rule \ - %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||: +%gconf_schema_upgrade %{name}.schemas scrollkeeper-update -q -o %{_datadir}/omf/%{name} ||: touch --no-create %{_datadir}/icons/hicolor ||: %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: %preun -if [ "$1" -eq 0 ]; then - export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) - gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||: -fi +%gconf_schema_remove %{name}.schemas %postun @@ -174,6 +161,10 @@ fi %{_mandir}/man1/empathy*.1.gz %changelog +* Sat Apr 24 2010 Brian Pepple - 2.30.0.2-2 +- Remove clean section. No longer needed. +- Update spec for new gconf macros. + * Tue Apr 20 2010 Brian Pepple - 2.30.0.2-1 - Update to 2.30.0.2.