Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2021-06-19 23:02:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and      /work/SRC/openSUSE:Factory/.sddm.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sddm"

Sat Jun 19 23:02:48 2021 rev:55 rq:900289 version:0.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sddm/sddm.changes        2021-03-12 
13:30:16.370069421 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new.2625/sddm.changes      2021-06-19 
23:03:21.863701288 +0200
@@ -1,0 +2,6 @@
+Wed Jun  2 20:42:52 UTC 2021 - Callum Farmer <[email protected]>
+
+- Change to systemd-sysusers
+- Remove old SUSE RPM constructs
+
+-------------------------------------------------------------------

New:
----
  system-user-sddm.conf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sddm.spec ++++++
--- /var/tmp/diff_new_pack.8TRbMc/_old  2021-06-19 23:03:22.423702152 +0200
+++ /var/tmp/diff_new_pack.8TRbMc/_new  2021-06-19 23:03:22.427702158 +0200
@@ -28,6 +28,7 @@
 Source2:        00-general.conf
 Source3:        10-theme.conf
 Source4:        sddm-tmpfiles.conf
+Source5:        system-user-sddm.conf
 # Patch0-100: PATCH-FIX-UPSTREAM
 Patch0:         0001-Use-PAM-s-username.patch
 Patch1:         0001-Add-fish-etc-profile-and-HOME-.profile-sourcing-1331.patch
@@ -64,11 +65,10 @@
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(xcb-xkb)
+BuildRequires:  sysuser-tools
 %systemd_requires
+%sysusers_requires
 Requires(post): diffutils
-Requires(pre):  %{_bindir}/getent
-Requires(pre):  %{_sbindir}/groupadd
-Requires(pre):  %{_sbindir}/useradd
 Requires:       sddm-branding = %{version}
 Requires:       xdm
 # Merged the -lang package back into the main package
@@ -88,8 +88,8 @@
 Requires:       sddm-theme-openSUSE
 Requires(post): %{name}
 Requires(post): diffutils
-Supplements:    packageand(plasma5-workspace:branding-openSUSE)
-Conflicts:      otherproviders(sddm-branding)
+Supplements:    (plasma5-workspace and branding-openSUSE)
+Conflicts:      sddm-branding
 Provides:       sddm-branding = %{version}
 
 %description branding-openSUSE
@@ -104,8 +104,8 @@
 Requires:       %{name} = %{version}
 Requires(post): %{name}
 Requires(post): diffutils
-Supplements:    packageand(%{name}:branding-upstream)
-Conflicts:      otherproviders(sddm-branding)
+Supplements:    (%{name} and branding-upstream)
+Conflicts:      sddm-branding
 Provides:       sddm-branding = %{version}
 
 %description branding-upstream
@@ -118,6 +118,7 @@
 %autosetup -p1
 
 %build
+%sysusers_generate_pre %{SOURCE5} sddm system-user-sddm.conf
 LOGIN_DEFS_PATH="%{_sysconfdir}/login.defs"
 if test \( -n "%{?_distconfdir}" -a -e "%{_distconfdir}/login.defs" \); then
   LOGIN_DEFS_PATH="%{_distconfdir}/login.defs"
@@ -167,13 +168,12 @@
   install -d %{buildroot}%{_sbindir}
   ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcsddm
 
+  install -Dm 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/system-user-sddm.conf
+
   %fdupes %{buildroot}%{_datadir}/sddm
 
-%pre
+%pre -f sddm.pre
 %service_add_pre sddm.service
-getent group sddm >/dev/null || %{_sbindir}/groupadd -r sddm
-getent passwd sddm >/dev/null || %{_sbindir}/useradd -r -g sddm -s /bin/false \
-       -c "SDDM daemon" -d %{_localstatedir}/lib/sddm sddm
 
 %post
 %service_add_post sddm.service
@@ -275,6 +275,7 @@
 %ghost %attr(750,sddm,sddm) %dir %{_localstatedir}/lib/sddm
 %{_mandir}/man*/sddm*%{ext_man}
 %{_unitdir}/sddm.service
+%{_sysusersdir}/system-user-sddm.conf
 %{_tmpfilesdir}/sddm.conf
 
 %files branding-openSUSE

++++++ system-user-sddm.conf ++++++
#Type Name ID GECOS         Home directory Shell
u     sddm -  "SDDM daemon" /var/lib/sddm  -

Reply via email to