diff --git a/gnome-system-monitor.spec b/gnome-system-monitor.spec index 062ba5f..c9fa8c6 100644 --- a/gnome-system-monitor.spec +++ b/gnome-system-monitor.spec @@ -30,6 +30,10 @@ BuildRequires: itstool BuildRequires: autoconf automake libtool +# for file triggers +Requires: glib2 >= 2.45.4-2 + + %description gnome-system-monitor allows to graphically view and manipulate the running processes on your system. It also provides an overview of available resources @@ -53,14 +57,6 @@ make %{?_smp_mflags} desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor-kde.desktop -%postun -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -fi - -%posttrans -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - %files -f %{name}.lang %license COPYING %doc AUTHORS NEWS README @@ -76,6 +72,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %changelog * Sat Aug 22 2015 Matthias Clasen - 3.17.90-2 - Work under Wayland +- Rely on file triggers * Mon Aug 17 2015 Kalev Lember - 3.17.90-1 - Update to 3.17.90