Rely on file triggers

This commit is contained in:
Matthias Clasen 2015-08-22 20:26:39 -04:00
parent bc8faa9ac8
commit 5cfb6e5d4a

View File

@ -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 <mclasen@redhat.com> - 3.17.90-2
- Work under Wayland
- Rely on file triggers
* Mon Aug 17 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
- Update to 3.17.90