Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rtkit for openSUSE:Factory checked in at 2022-01-05 13:39:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtkit (Old) and /work/SRC/openSUSE:Factory/.rtkit.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rtkit" Wed Jan 5 13:39:05 2022 rev:32 rq:943479 version:0.13 Changes: -------- --- /work/SRC/openSUSE:Factory/rtkit/rtkit.changes 2021-11-22 23:03:53.905989541 +0100 +++ /work/SRC/openSUSE:Factory/.rtkit.new.1896/rtkit.changes 2022-01-05 13:39:07.645496083 +0100 @@ -1,0 +2,5 @@ +Fri Dec 31 13:12:17 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Change to using systemd-sysusers + +------------------------------------------------------------------- New: ---- rtkit.sysusers ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtkit.spec ++++++ --- /var/tmp/diff_new_pack.eOUD88/_old 2022-01-05 13:39:09.105497231 +0100 +++ /var/tmp/diff_new_pack.eOUD88/_new 2022-01-05 13:39:09.109497234 +0100 @@ -26,10 +26,12 @@ Group: System/Base URL: https://github.com/heftig/rtkit Source: https://github.com/heftig/rtkit/releases/download/v%{version}/rtkit-%{version}.tar.xz +Source1: rtkit.sysusers Patch0: harden_rtkit-daemon.service.patch BuildRequires: automake BuildRequires: libcap-devel BuildRequires: pkg-config +BuildRequires: sysuser-tools BuildRequires: systemd-rpm-macros BuildRequires: vim BuildRequires: xz @@ -39,6 +41,7 @@ BuildRequires: pkgconfig(polkit-gobject-1) Requires: polkit Requires(pre): dbus-1 +%sysusers_requires %description RealtimeKit is a D-Bus system service that changes the scheduling policy of @@ -51,6 +54,7 @@ %patch0 -p1 %build +%sysusers_generate_pre %{SOURCE1} rtkit rtkit.conf autoreconf -fiv export CFLAGS="%{optflags} -fPIE -Wno-format-nonliteral -Wno-format-security" export LDFLAGS="-Wl,-z,relro,-z,now -pie" @@ -66,15 +70,12 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} install ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcrtkit-daemon install -D -m 0644 org.freedesktop.RealtimeKit1.xml %{buildroot}/%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml +install -Dm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/rtkit.conf %preun %service_del_preun rtkit-daemon.service -%pre -groupadd -r rtkit >/dev/null 2>&1 || : -%{_bindir}/id rtkit >/dev/null 2>&1 || \ - useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /var/lib/empty rtkit - +%pre -f rtkit.pre %service_add_pre rtkit-daemon.service %post @@ -101,5 +102,6 @@ %{_mandir}/man8/rtkitctl.8%{ext_man} %{_sbindir}/rcrtkit-daemon %{_unitdir}/rtkit-daemon.service +%{_sysusersdir}/rtkit.conf %changelog ++++++ rtkit.sysusers ++++++ #Type Name ID GECOS Home directory Shell u rtkit - 'RealtimeKit' /var/lib/empty -