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.