diff --git a/sddm-0.13.0-openmamba-pam.patch b/sddm-0.13.0-openmamba-pam.patch deleted file mode 100644 index 209d6c9..0000000 --- a/sddm-0.13.0-openmamba-pam.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nru sddm-0.13.0.orig/services/sddm.pam sddm-0.13.0/services/sddm.pam ---- sddm-0.13.0.orig/services/sddm.pam 2016-04-27 15:04:54.000000000 +0200 -+++ sddm-0.13.0/services/sddm.pam 2016-04-27 15:23:40.813519604 +0200 -@@ -1,6 +1,6 @@ - #%PAM-1.0 - --auth include system-login --account include system-login --password include system-login --session include system-login -+auth include system-auth -+account include system-auth -+password include system-auth -+session include system-auth diff --git a/sddm-0.15.0-openmamba-pam.patch b/sddm-0.15.0-openmamba-pam.patch new file mode 100644 index 0000000..4142d01 --- /dev/null +++ b/sddm-0.15.0-openmamba-pam.patch @@ -0,0 +1,22 @@ +--- sddm-0.15.0/services/sddm.pam.orig 2017-09-22 22:51:56.275397000 +0200 ++++ sddm-0.15.0/services/sddm.pam 2017-09-22 22:52:32.245548477 +0200 +@@ -1,15 +1,15 @@ + #%PAM-1.0 + +-auth include system-login ++auth include system-auth + -auth optional pam_gnome_keyring.so + -auth optional pam_kwallet5.so + +-account include system-login ++account include system-auth + +-password include system-login ++password include system-auth + -password optional pam_gnome_keyring.so use_authtok + + session optional pam_keyinit.so force revoke +-session include system-login ++session include system-auth + -session optional pam_gnome_keyring.so auto_start + -session optional pam_kwallet5.so auto_start diff --git a/sddm.spec b/sddm.spec index b1ffd53..b545ceb 100644 --- a/sddm.spec +++ b/sddm.spec @@ -1,5 +1,7 @@ +%define user_sddm 68 +%define group_sddm 68 Name: sddm -Version: 0.14.0 +Version: 0.15.0 Release: 1mamba Summary: QML based X11 and Wayland display manager Group: Graphical Desktop/Applications/Environment @@ -9,7 +11,7 @@ Packager: Silvan Calarco URL: https://github.com/sddm/sddm ## GITSOURCE https://github.com/sddm/sddm.git v0.13.0 Source: https://github.com/sddm/sddm.git/v%{version}/sddm-%{version}.tar.bz2 -Patch0: sddm-0.13.0-openmamba-pam.patch +Patch0: sddm-0.15.0-openmamba-pam.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -41,9 +43,17 @@ QML based X11 and Wayland display manager. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +install -d -m0775 %{buildroot}%{_localstatedir}/lib/sddm + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%pre +groupadd sddm -g %{group_sddm} 2>/dev/null +useradd -u %{user_sddm} -g sddm \ + -d /var/lib/sddm -s /sbin/nologin -c "sddm user" sddm 2>/dev/null +: + %post %systemd_post sddm : @@ -82,12 +92,17 @@ QML based X11 and Wayland display manager. %{_datadir}/sddm/themes/elarun/* %dir %{_datadir}/sddm/themes/maldives %{_datadir}/sddm/themes/maldives/* -#%dir %{_datadir}/sddm/themes/maui -#%{_datadir}/sddm/themes/maui/* +%dir %{_datadir}/sddm/themes/maya +%{_datadir}/sddm/themes/maya/* +%{_datadir}/sddm/themes/maya/.gitattributes %{_datadir}/sddm/translations/*.qm -#%doc COPYING +%attr(-,sddm,sddm) %dir %{_localstatedir}/lib/sddm +%doc LICENSE %changelog +* Fri Sep 22 2017 Silvan Calarco 0.15.0-1mamba +- update to 0.15.0 + * Tue Oct 04 2016 Automatic Build System 0.14.0-1mamba - automatic version update by autodist