diff --git a/libpeas.spec b/libpeas.spec index 5b83692..5c03c0a 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -8,7 +8,7 @@ Name: libpeas Version: 1.22.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Plug-ins implementation convenience library License: LGPLv2+ @@ -97,19 +97,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecon %find_lang libpeas -%post -/sbin/ldconfig -touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig -if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : +%postun -p /sbin/ldconfig %files -f libpeas.lang %doc AUTHORS NEWS README @@ -150,6 +140,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_datadir}/glade/catalogs/libpeas-gtk.xml %changelog +* Fri Jan 05 2018 Igor Gnatenko - 1.22.0-3 +- Remove obsolete scriptlets + * Thu Nov 30 2017 Merlin Mathesius - 1.22.0-2 - Cleanup spec file conditionals