Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:02:25 +01:00
parent 8fcdaa108b
commit 69b07d6095

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 3.26.1-2
- Remove obsolete scriptlets
* Sun Oct 08 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
- Update to 3.26.1