Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:30:23 +01:00
parent 191ad33758
commit f7d1f4b033

View File

@ -82,7 +82,7 @@ Summary: GNU Image Manipulation Program
Name: gimp
Epoch: 2
Version: 2.8.22
Release: %{?prerelprefix}3%{dotprerel}%{dotgitrev}%{?dist}
Release: %{?prerelprefix}3%{dotprerel}%{dotgitrev}%{?dist}.1
# Compute some version related macros.
# Ugly, need to get quoting percent signs straight.
@ -518,20 +518,6 @@ popd
%endif
make check
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@ -659,6 +645,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:2.8.22-3.1
- Remove obsolete scriptlets
* Thu Jan 04 2018 Josef Ridky <jridky@redhat.com> - 2:2.8.22-3
- Fix for CVE-2017-17784, CVE-2017-17785, CVE-2017-17786,
CVE-2017-17787, CVE-2017-17788 and CVE-2017-17789 (#1529149)