Add missing glib-compile-schemas scriptlets to the -editor subpackage

This commit is contained in:
Kalev Lember 2013-09-26 16:02:52 +02:00
parent 5c178a0ffd
commit c8a2c5db2c

View File

@ -3,7 +3,7 @@
Name: dconf Name: dconf
Version: 0.18.0 Version: 0.18.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A configuration system Summary: A configuration system
Group: System Environment/Base Group: System Environment/Base
@ -79,6 +79,8 @@ done
%postun editor %postun editor
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
for d in hicolor HighContrast ; do for d in hicolor HighContrast ; do
touch --no-create %{_datadir}/icons/$d &>/dev/null || : touch --no-create %{_datadir}/icons/$d &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
@ -86,6 +88,8 @@ if [ $1 -eq 0 ] ; then
fi fi
%posttrans editor %posttrans editor
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
for d in hicolor HighContrast ; do for d in hicolor HighContrast ; do
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
done done
@ -123,6 +127,9 @@ done
%{_mandir}/man1/dconf-editor.1.gz %{_mandir}/man1/dconf-editor.1.gz
%changelog %changelog
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-2
- Add missing glib-compile-schemas scriptlets to the -editor subpackage
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-1 * Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-1
- Update to 0.18.0 - Update to 0.18.0