Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 8435a45c71
commit 85c252dd67

@ -2,7 +2,7 @@
Name: spectacle Name: spectacle
Summary: Screenshot capture utility Summary: Screenshot capture utility
Version: 17.12.1 Version: 17.12.1
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
URL: https://www.kde.org/applications/graphics/spectacle/ URL: https://www.kde.org/applications/graphics/spectacle/
@ -88,19 +88,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.spectacle.appdata.xml ||: appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.spectacle.appdata.xml ||:
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.spectacle.desktop desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.spectacle.desktop
%post
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
%posttrans
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
fi
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%{_kf5_bindir}/spectacle %{_kf5_bindir}/spectacle
@ -114,6 +101,9 @@ fi
%changelog %changelog
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 17.12.1-2
- Remove obsolete scriptlets
* Thu Jan 11 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.1-1 * Thu Jan 11 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.1-1
- 17.12.1 - 17.12.1

Loading…
Cancel
Save