Accepting request 1130503 from home:gmbr3:Active

- common: dbus.socket still gets used after migration to
  dbus-broker so keep pre/post/postun scriptlets

OBS-URL: https://build.opensuse.org/request/show/1130503
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=342
This commit is contained in:
Dirk Mueller 2023-12-05 09:45:23 +00:00 committed by Git OBS Bridge
parent e1a430deb3
commit e9403bf96e
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,10 @@
-------------------------------------------------------------------
-------------------------------------------------------------------
Sat Dec 2 14:13:04 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- common: dbus.socket still gets used after migration to
dbus-broker so keep pre/post/postun scriptlets
-------------------------------------------------------------------
Thu Sep 21 08:49:03 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Explicitly require /usr/bin/cmp for the post scripts instead of

View File

@ -227,9 +227,7 @@ fi
%endif
%pre common -f messagebus.pre
%if %{with_service}
%service_add_pre dbus.socket
%endif
%post common
if [ -e %{_localstatedir}/lib/dbus/machine-id -a -e %{_sysconfdir}/machine-id ]; then
@ -243,7 +241,6 @@ if [ ! -L %{_localstatedir}/lib/dbus/machine-id ]; then
ln -s %{_sysconfdir}/machine-id %{_localstatedir}/lib/dbus/machine-id
fi
%tmpfiles_create %{_prefix}/lib/tmpfiles.d/dbus.conf
%if %{with_service}
%service_add_post dbus.socket
%preun common
@ -251,7 +248,6 @@ fi
%postun common
%service_del_postun_without_restart dbus.socket
%endif
%files
%dir %{_libexecdir}/dbus-1/