From 5c54e56e6caa83f31ae4c69428fc26c5ba61b62b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 22:57:14 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- yubioath-desktop.spec | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/yubioath-desktop.spec b/yubioath-desktop.spec index ae655ea..dd4a203 100644 --- a/yubioath-desktop.spec +++ b/yubioath-desktop.spec @@ -18,7 +18,7 @@ Name: yubioath-desktop Version: 4.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes License: BSD @@ -73,21 +73,10 @@ cp %{_builddir}/%{buildsubdir}/resources/icons/yubioath.png %{buildroot}%{_datad %{_datadir}/icons/hicolor/128x128/apps/* %{_datadir}/applications/* -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-desktop-database &> /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 -/usr/bin/update-desktop-database &> /dev/null || : - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %changelog +* Thu Jan 18 2018 Igor Gnatenko - 4.2.0-2 +- Remove obsolete scriptlets + * Fri Dec 15 2017 Seth Jennings - 4.2.0-1 - Upstream release.