From 483290360b1ce7dff5046be1628b66ec91654663 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 18 2018 21:03:41 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/python-pyobd.spec b/python-pyobd.spec index ef8568b..09cce6a 100644 --- a/python-pyobd.spec +++ b/python-pyobd.spec @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: %{ver} -Release: 9%{?dist} +Release: 10%{?dist} Summary: OBD-II (SAE-J1979) compliant scan tool software # CC-BY-SA for icon, see README.Fedora for details License: GPLv2+ and CC-BY-SA @@ -88,18 +88,6 @@ desktop-file-install --add-category="Utility" \ --dir=%{buildroot}%{_datadir}/applications \ pyobd.desktop -%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 -f %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - %files -n python2-%{srcname} %license COPYING %doc README.Fedora @@ -109,6 +97,9 @@ fi %{_bindir}/pyobd %changelog +* Thu Jan 18 2018 Igor Gnatenko - 0.9.3-10 +- Remove obsolete scriptlets + * Mon Jan 15 2018 Jaroslav Škarvada - 0.9.3-9 - Added license for icon Resolves: rhbz#1534147