From 962e54d1c7567e59c71317a4705f90757ae01424 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 18 2018 19:50:08 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/mcomix.spec b/mcomix.spec index 11635e3..7292b6b 100644 --- a/mcomix.spec +++ b/mcomix.spec @@ -1,6 +1,6 @@ Name: mcomix Version: 1.2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: User-friendly, customizable image viewer for comic books Group: Amusements/Graphics @@ -116,25 +116,10 @@ mv $RPM_BUILD_ROOT%{python_sitelib}/%{name}/messages/*/ \ %post %gconf_schema_upgrade %{name} -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : -/usr/bin/update-desktop-database &> /dev/null || : %preun %gconf_schema_remove %{name} -%postun -/usr/bin/update-desktop-database &> /dev/null || : -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 || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : - %files -f %{name}.lang %defattr(-,root,root,-) %license COPYING @@ -162,6 +147,9 @@ fi %changelog +* Thu Jan 18 2018 Igor Gnatenko - 1.2.1-6 +- Remove obsolete scriptlets + * Tue Jan 09 2018 Iryna Shcherbina - 1.2.1-5 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)