diff --git a/sysprof.spec b/sysprof.spec index c140f3a..f92d68c 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,6 +1,6 @@ Name: sysprof Version: 3.26.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A system-wide Linux profiler License: GPLv3+ @@ -69,18 +69,6 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appda desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop -%post -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %post cli -p /sbin/ldconfig %postun cli -p /sbin/ldconfig @@ -119,6 +107,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.26.1-2 +- Remove obsolete scriptlets + * Sun Oct 08 2017 Kalev Lember - 3.26.1-1 - Update to 3.26.1