Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 10:26:49 +01:00
parent 0e04492ff4
commit 16463de300

View File

@ -27,7 +27,7 @@
Name: evolution
Version: 3.27.3
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/Productivity
Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL
@ -292,26 +292,9 @@ grep "/usr/share/locale" evolution.lang > translations.lang
grep -v "/usr/share/locale" evolution.lang > help.lang
%endif
%post
/sbin/ldconfig
/usr/bin/update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
/usr/bin/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 || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%clean
rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%files
%license COPYING
@ -521,6 +504,8 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/installed-tests
%changelog
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.27.3-2
- Remove obsolete scriptlets
- Add explicit dependency on evolution-data-server (RH bug #1524416)
* Mon Dec 11 2017 Milan Crha <mcrha@redhat.com> - 3.27.3-1