Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 13:02:44 +01:00
parent ee3350bcbd
commit 0bce2df1e0
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -172,18 +172,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%ldconfig_scriptlets %ldconfig_scriptlets
%post devel
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun devel
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans devel
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f gtk40.lang %files -f gtk40.lang
%license COPYING %license COPYING
%doc AUTHORS NEWS README.md %doc AUTHORS NEWS README.md