3
0

- Make use of "Suggests:" in %systemd_ordering

Until libzypp supports "OrderWithRequires:", we need to specify a
  similar ordering constraint that can be understood by the dep solver
  as well. Hence the use of "Suggests:" in %systemd_ordering
  (workaround for bsc#1187332).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=69
This commit is contained in:
Franck Bui 2021-06-30 09:59:17 +00:00 committed by Git OBS Bridge
parent bbc4a5b794
commit ad43e5ad9f
2 changed files with 15 additions and 0 deletions

View File

@ -53,10 +53,15 @@ Requires(preun): systemd \
Requires(postun): systemd \
%{nil}
# In case you're wondering why "Suggests:" is also used: libzypp
# doesn't understand "OrderWithRequires:" yet, see bsc#1187332 for
# details.
%systemd_ordering \
OrderWithRequires(pre): systemd \
OrderWithRequires(post): systemd \
OrderWithRequires(preun): systemd \
OrderWithRequires(postun): systemd \
Suggests: systemd \
%{nil}
%_restart_on_update_force() /usr/bin/systemctl try-restart %{*} || : %{nil}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jun 30 09:52:48 UTC 2021 - Franck Bui <fbui@suse.com>
- Make use of "Suggests:" in %systemd_ordering
Until libzypp supports "OrderWithRequires:", we need to specify a
similar ordering constraint that can be understood by the dep solver
as well. Hence the use of "Suggests:" in %systemd_ordering
(workaround for bsc#1187332).
-------------------------------------------------------------------
Thu May 20 10:18:23 UTC 2021 - Franck Bui <fbui@suse.com>