Remove obsolete scriptlets that are now automatic.
This commit is contained in:
parent
969d51434e
commit
14deb52d02
20
python3.spec
20
python3.spec
@ -1077,26 +1077,6 @@ CheckPython optimized
|
|||||||
%endif # with tests
|
%endif # with tests
|
||||||
|
|
||||||
|
|
||||||
# ======================================================
|
|
||||||
# Scriptlets
|
|
||||||
# ======================================================
|
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%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
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user