diff --git a/sddm.spec b/sddm.spec index f766529..274a281 100644 --- a/sddm.spec +++ b/sddm.spec @@ -2,7 +2,7 @@ %define group_sddm 68 Name: sddm Version: 0.18.0 -Release: 2mamba +Release: 3mamba Summary: QML based X11 and Wayland display manager Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -76,11 +76,14 @@ useradd -u %{user_sddm} -g sddm \ if [ $1 -ge 1 ]; then [ -e /etc/sddm.conf.rpmsave ] && { eval `grep ^User= /etc/sddm.conf.rpmsave` - } + eval `grep ^Session= /etc/sddm.conf.rpmsave` + } + [ "${Session}" ] || Session="plasma" [ -e /etc/sddm.conf ] || { cat > /etc/sddm.conf << _EOF [Autologin] User=${User} +Session=${Session} _EOF } if [ -e /opt/kde/share/config/kdm/kdmrc -a ! "${User}" ]; then @@ -128,6 +131,9 @@ fi %doc LICENSE %changelog +* Sun Sep 09 2018 Silvan Calarco 0.18.0-3mamba +- sddm.conf: also configure Session for autologin to work + * Wed Sep 05 2018 Silvan Calarco 0.18.0-2mamba - reconfigure autologin user after upgrade