don't enable/disable dbus.socket when install/unstall dbus-broker.service

This commit is contained in:
licunlong 2022-02-22 17:26:55 +08:00
parent 2e988f3c7f
commit 315e3e1fbf

View File

@ -1,6 +1,6 @@
Name: dbus-broker Name: dbus-broker
Version: 29 Version: 29
Release: 1 Release: 2
Summary: Linux D-Bus Message Broker Summary: Linux D-Bus Message Broker
License: Apache License 2.0 License: Apache License 2.0
URL: https://github.com/bus1/dbus-broker URL: https://github.com/bus1/dbus-broker
@ -48,16 +48,16 @@ if ! getent passwd dbus > /dev/null ; then
fi fi
%preun %preun
%systemd_preun dbus-broker.service dbus.socket %systemd_preun dbus-broker.service
%systemd_user_preun dbus-broker.service dbus.socket %systemd_user_preun dbus-broker.service
%post %post
%systemd_post dbus-broker.service dbus.socket %systemd_post dbus-broker.service
%systemd_user_post dbus-broker.service dbus.socket %systemd_user_post dbus-broker.service
%postun %postun
%systemd_postun dbus-broker.service dbus.socket %systemd_postun dbus-broker.service
%systemd_user_postun dbus-broker.service dbus.socket %systemd_user_postun dbus-broker.service
%files %files
%license AUTHORS %license AUTHORS
@ -69,6 +69,12 @@ fi
%{_userunitdir}/dbus-broker.service %{_userunitdir}/dbus-broker.service
%changelog %changelog
* Tue Feb 22 2022 licunlong<licunlong1@huawei.com> - 29.2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:don't enable/disable dbus.socket when install/uninstall dbus-broker.
* Thu Dec 16 2021 licunlong<licunlong1@huawei.com> - 29.1 * Thu Dec 16 2021 licunlong<licunlong1@huawei.com> - 29.1
- Type:enhance - Type:enhance
- CVE:NA - CVE:NA