diff --git a/rtkit.spec b/rtkit.spec index 712fadd86f7b41414127c249239484639e800953..a5d52a2cc70ef8a9d02e571aff7eb89bf7cc3a40 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon Name: rtkit @@ -70,7 +70,7 @@ install -D -m 0644 org.freedesktop.RealtimeKit1.xml %{buildroot}%{_datadir}/dbus # Notice that the uid and gid of the rtkit is both 172 getent group rtkit >/dev/null 2>&1 || groupadd -r -g 172 rtkit getent passwd rtkit >/dev/null 2>&1 || useradd -r -l -u 172 -g rtkit \ - d /proc \ + -d /proc \ -s /sbin/nologin \ -c "RealtimeKit" \ rtkit @@ -103,6 +103,9 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk %doc README rtkit.c rtkit.h %changelog +* Thu Jun 8 2023 Liwei Ge - 1:0.11-4 +- fix useradd in pre script + * Mon Apr 10 2023 Kun(llfl) - 1:0.11-3 - optimize spec file - add license description