fix file lists

This commit is contained in:
Matthias Clasen 2012-02-06 22:22:03 -05:00
parent 4396b3ef04
commit 71949e50d9

View File

@ -55,17 +55,23 @@ make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%postun %postun
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
/sbin/ldconfig /sbin/ldconfig
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : 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 || :
fi fi
%posttrans %posttrans
/sbin/ldconfig /sbin/ldconfig
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%files %files
@ -98,6 +104,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/applications/dconf-editor.desktop %{_datadir}/applications/dconf-editor.desktop
%dir %{_datadir}/dconf-editor %dir %{_datadir}/dconf-editor
%{_datadir}/dconf-editor/dconf-editor.ui %{_datadir}/dconf-editor/dconf-editor.ui
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
%changelog %changelog
* Mon Feb 6 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1 * Mon Feb 6 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1