[packages/gdm] - moved glib schema to libs, gnome-shell will not start without it - rel 3
baggins
baggins at pld-linux.org
Wed Feb 19 11:32:12 CET 2014
commit 7a8d46105876c7a5763857d958cd94e6e0be92dd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 19 11:31:38 2014 +0100
- moved glib schema to libs, gnome-shell will not start without it
- rel 3
gdm.spec | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/gdm.spec b/gdm.spec
index e197b55..20ba5d8 100644
--- a/gdm.spec
+++ b/gdm.spec
@@ -17,7 +17,7 @@ Summary(ru.UTF-8): Дисплейный менеджер GNOME
Summary(uk.UTF-8): Дисплейний менеджер GNOME
Name: gdm
Version: 3.10.0.1
-Release: 2
+Release: 3
Epoch: 2
License: GPL/LGPL
Group: X11/Applications
@@ -289,13 +289,11 @@ umask 022
%useradd -u 55 -r -d /home/services/xdm -s /bin/false -c "X Display Manager" -g xdm xdm
%post
-%glib_compile_schemas
%update_icon_cache hicolor
%postun
%update_icon_cache hicolor
if [ "$1" = "0" ]; then
- %glib_compile_schemas
%userremove xdm
%groupremove xdm
fi
@@ -320,8 +318,15 @@ if [ "$1" = "0" ]; then
/sbin/chkconfig --del gdm
fi
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%post libs
+/sbin/ldconfig
+%glib_compile_schemas
+
+%postun libs
+/sbin/ldconfig
+if [ "$1" = "0" ]; then
+ %glib_compile_schemas
+fi
%files -f %{name}.lang
%defattr(644,root,root,755)
@@ -364,13 +369,13 @@ fi
%{_datadir}/xsessions/custom.desktop
%{_datadir}/xsessions/default.desktop
%{_iconsdir}/hicolor/*/apps/*.png
-%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgdm.so.1.0.0
%attr(755,root,root) %ghost %{_libdir}/libgdm.so.1
%{_libdir}/girepository-1.0/Gdm-1.0.typelib
+%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdm.git/commitdiff/7a8d46105876c7a5763857d958cd94e6e0be92dd
More information about the pld-cvs-commit
mailing list