Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 1813a19cdd
commit 47373da325

@ -4,7 +4,7 @@
Name: kmenuedit Name: kmenuedit
Summary: KDE menu editor Summary: KDE menu editor
Version: 5.11.95 Version: 5.11.95
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://cgit.kde.org/%{name}.git URL: https://cgit.kde.org/%{name}.git
@ -68,19 +68,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%check %check
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kmenuedit.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kmenuedit.desktop
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f kmenuedit5.lang %files -f kmenuedit5.lang
%license COPYING* %license COPYING*
%{_bindir}/kmenuedit %{_bindir}/kmenuedit
@ -92,6 +79,9 @@ fi
%changelog %changelog
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.11.95-2
- Remove obsolete scriptlets
* Mon Jan 15 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.95-1 * Mon Jan 15 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.95-1
- 5.11.95 - 5.11.95

Loading…
Cancel
Save