diff --git a/.gitignore b/.gitignore index 42e6471..272bbc1 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /kmenuedit-5.11.3.tar.xz /kmenuedit-5.11.4.tar.xz /kmenuedit-5.11.5.tar.xz +/kmenuedit-5.11.95.tar.xz diff --git a/kmenuedit.spec b/kmenuedit.spec index f834d5d..ebe9ac5 100644 --- a/kmenuedit.spec +++ b/kmenuedit.spec @@ -3,8 +3,8 @@ Name: kmenuedit Summary: KDE menu editor -Version: 5.11.5 -Release: 2%{?dist} +Version: 5.11.95 +Release: 1%{?dist} License: GPLv2+ URL: https://cgit.kde.org/%{name}.git @@ -69,6 +69,18 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} 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 %license COPYING* %{_bindir}/kmenuedit @@ -80,8 +92,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kmenuedit.des %changelog -* Thu Jan 11 2018 Igor Gnatenko - 5.11.5-2 -- Remove obsolete scriptlets +* Mon Jan 15 2018 Jan Grulich - 5.11.95-1 +- 5.11.95 * Tue Jan 02 2018 Rex Dieter - 5.11.5-1 - 5.11.5 diff --git a/sources b/sources index da34e56..26282a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kmenuedit-5.11.5.tar.xz) = 65fd7e67eb67c56adad3f9dc422f8005fefa40fae37a29444e305a20434a1e228c63c8db04c4f031cf60f9f06d07d794727344ad10d8f3d5681119ea44e3c5b7 +SHA512 (kmenuedit-5.11.95.tar.xz) = 7aaf7eb34e561e52996d1777ab69d7c22e483ef73afe82c4744db51acb9e0992859d053a48b399e0064b0eff84f07fd61aa3b8bafae9b11f7ac757bc85f1b8cd