#
# Conditiional build:
%bcond_without selinux # without selinux
-#
+
Summary: GNOME Display Manager
Summary(es.UTF-8): Administrador de Entrada del GNOME
Summary(ja.UTF-8): GNOME ディスプレイマネージャ
Summary(uk.UTF-8): Дисплейний менеджер GNOME
Name: gdm2.20
Version: 2.20.11
-Release: 5
+Release: 6
License: GPL/LGPL
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gdm/2.20/gdm-%{version}.tar.bz2
Patch2: gdm-xsession.patch
Patch3: gdm-desktop.patch
Patch4: gdm-defaults.patch
+Patch5: xinit-sh.patch
URL: http://www.gnome.org/projects/gdm/
BuildRequires: ConsoleKit-devel
BuildRequires: attr-devel
--- /dev/null
+--- gdm-2.20.11/config/Xsession.in~ 2013-03-06 00:17:36.000000000 +0200
++++ gdm-2.20.11/config/Xsession.in 2013-03-06 00:18:31.189137195 +0200
+@@ -183,7 +183,7 @@
+
+ # run all system xinitrc shell scripts.
+ if [ -d /etc/X11/xinit/xinitrc.d ]; then
+- for i in /etc/X11/xinit/xinitrc.d/* ; do
++ for i in /etc/X11/xinit/xinitrc.d/*.sh; do
+ if [ -x "$i" ]; then
+ . "$i"
+ fi