Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:22:20 +01:00
parent 1152b0f435
commit fbbbdd8638

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 1.22.0-3
- Remove obsolete scriptlets
* Thu Nov 30 2017 Merlin Mathesius <mmathesi@redhat.com> - 1.22.0-2
- Cleanup spec file conditionals