forked from pool/systemd-rpm-macros
- 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:
parent
bbc4a5b794
commit
ad43e5ad9f
@ -53,10 +53,15 @@ Requires(preun): systemd \
|
|||||||
Requires(postun): systemd \
|
Requires(postun): systemd \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
# In case you're wondering why "Suggests:" is also used: libzypp
|
||||||
|
# doesn't understand "OrderWithRequires:" yet, see bsc#1187332 for
|
||||||
|
# details.
|
||||||
%systemd_ordering \
|
%systemd_ordering \
|
||||||
|
OrderWithRequires(pre): systemd \
|
||||||
OrderWithRequires(post): systemd \
|
OrderWithRequires(post): systemd \
|
||||||
OrderWithRequires(preun): systemd \
|
OrderWithRequires(preun): systemd \
|
||||||
OrderWithRequires(postun): systemd \
|
OrderWithRequires(postun): systemd \
|
||||||
|
Suggests: systemd \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
%_restart_on_update_force() /usr/bin/systemctl try-restart %{*} || : %{nil}
|
%_restart_on_update_force() /usr/bin/systemctl try-restart %{*} || : %{nil}
|
||||||
|
@ -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>
|
Thu May 20 10:18:23 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user