From bdf272bff4f615c5defc9883c9774e93175c39a7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 1 May 2014 18:58:59 +0200 Subject: [PATCH] Remove and obsolete the updates plugin --- gnome-settings-daemon.spec | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index 18796f7..f8cdf44 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -63,6 +63,8 @@ Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_versi Requires: gtk3%{?_isa} >= %{gtk3_version} Requires: libgweather%{?_isa} >= %{libgweather_version} +Obsoletes: %{name}-updates < 3.13.1 + %description A daemon to share settings from GNOME to other applications. It also handles global keybindings, as well as a number of desktop-wide settings. @@ -76,14 +78,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package updates -Summary: updates plugin for %{name} -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description updates -The %{name}-updates package contains the updates plugin for %{name} - %prep %setup -q %if 0%{?rhel} @@ -122,14 +116,6 @@ fi gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -%postun updates -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans updates -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - %files -f %{name}.lang %doc AUTHORS COPYING NEWS @@ -261,18 +247,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_libexecdir}/gsd-test-screensaver-proxy %{_libexecdir}/gsd-test-smartcard %{_libexecdir}/gsd-test-sound -%{_libexecdir}/gsd-test-updates %{_libexecdir}/gsd-test-xrandr %{_libexecdir}/gsd-test-xsettings -%files updates -%{_libdir}/gnome-settings-daemon-3.0/updates.gnome-settings-plugin -%{_libdir}/gnome-settings-daemon-3.0/libupdates.so -%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.xml - %changelog * Thu May 01 2014 Kalev Lember - 3.13.1-1 - Update to 3.13.1 +- Remove and obsolete the updates plugin * Wed Apr 16 2014 Kalev Lember - 3.12.1-1 - Update to 3.12.1