Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package seatd for openSUSE:Factory checked in at 2026-09-24 23:00:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/seatd (Old) and /work/SRC/openSUSE:Factory/.seatd.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "seatd" Thu Sep 24 23:00:33 2026 rev:14 rq:1380196 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/seatd/seatd.changes 2026-03-03 15:31:51.771349747 +0100 +++ /work/SRC/openSUSE:Factory/.seatd.new.383539/seatd.changes 2026-09-24 23:02:24.629649979 +0200 @@ -1,0 +2,6 @@ +Thu Sep 24 11:41:51 UTC 2026 - Dan Čermák <[email protected]> + +- Install the systemd unit in the optional seatd-systemd subpackage +- let the subpackage create the seat group that owns /run/seatd.sock + +------------------------------------------------------------------- New: ---- system-group-seat.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ seatd.spec ++++++ --- /var/tmp/diff_new_pack.eE2eST/_old 2026-09-24 23:02:25.522687320 +0200 +++ /var/tmp/diff_new_pack.eE2eST/_new 2026-09-24 23:02:25.523687362 +0200 @@ -24,10 +24,12 @@ Group: System/Base URL: https://git.sr.ht/~kennylevinsen/seatd Source0: %{name}-%{version}.tar.gz +Source1: system-group-seat.conf BuildRequires: meson >= 0.56.0 BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: scdoc +BuildRequires: sysuser-tools BuildRequires: pkgconfig(systemd) Requires: libseat1 = %{version} BuildRequires: pkgconfig(libsystemd) >= 237 @@ -51,6 +53,18 @@ %description devel Development files for %{name}. +%package systemd +Summary: Systemd unit for %{name} +Requires: %{name} = %{version} +BuildArch: noarch +%sysusers_requires +%{?systemd_ordering} + +%description systemd +This package contains the systemd service unit for %{name} as well as the +sysusers configuration that creates the system group granting access to the +seatd daemon. + %prep %autosetup -p1 @@ -62,9 +76,26 @@ %install %meson_install +install -D -m 0644 contrib/systemd/seatd.service %{buildroot}%{_unitdir}/seatd.service +install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-group-seat.conf + +%sysusers_generate_pre %{SOURCE1} seat system-group-seat.conf + %post -n libseat1 -p /sbin/ldconfig %postun -n libseat1 -p /sbin/ldconfig +%pre systemd -f seat.pre +%service_add_pre seatd.service + +%post systemd +%service_add_post seatd.service + +%preun systemd +%service_del_preun seatd.service + +%postun systemd +%service_del_postun seatd.service + %files %doc README* %{_bindir}/%{name} @@ -81,3 +112,7 @@ %{_libdir}/pkgconfig/libseat.pc %{_libdir}/libseat.so +%files systemd +%{_unitdir}/seatd.service +%{_sysusersdir}/system-group-seat.conf + ++++++ system-group-seat.conf ++++++ # Type Name ID g seat -
