Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
8fcdaa108b
commit
69b07d6095
17
sysprof.spec
17
sysprof.spec
@ -1,6 +1,6 @@
|
|||||||
Name: sysprof
|
Name: sysprof
|
||||||
Version: 3.26.1
|
Version: 3.26.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A system-wide Linux profiler
|
Summary: A system-wide Linux profiler
|
||||||
|
|
||||||
License: GPLv3+
|
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
|
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
|
%post cli -p /sbin/ldconfig
|
||||||
%postun cli -p /sbin/ldconfig
|
%postun cli -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -119,6 +107,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Oct 08 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
|
||||||
- Update to 3.26.1
|
- Update to 3.26.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user