diff --git a/dconf.spec b/dconf.spec index 1700b02..8fd89d4 100644 --- a/dconf.spec +++ b/dconf.spec @@ -3,7 +3,7 @@ Name: dconf Version: 0.14.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A configuration system Group: System Environment/Base @@ -64,7 +64,11 @@ make install DESTDIR=$RPM_BUILD_ROOT %find_lang dconf %post +/sbin/ldconfig +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : +gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %postun if [ $1 -eq 0 ] ; then @@ -75,12 +79,6 @@ if [ $1 -eq 0 ] ; then gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : fi -%posttrans -/sbin/ldconfig -gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : - %files -f dconf.lang %doc COPYING @@ -116,6 +114,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_datadir}/icons/hicolor/*/apps/dconf-editor.png %changelog +* Wed Nov 7 2012 Marek Kasik - 0.14.0-4 +- Move %%posttrans commands to %%post (rpmlint related) + * Wed Nov 7 2012 Marek Kasik - 0.14.0-3 - Update License field - Update Source URL