The system-rpmd-marcros pkgs says to use %{?systemd_requires}:
rpm -q --qf "%{description}\n" systemd-rpm-macros Just the definitions of rpm macros. Use %{?systemd_requires} in the binary packages that use any scriptlets from this package.
but the systemd guidelines to not mention it: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
What is correct?
FYI:
rpm --eval %systemd_requires Requires(post): systemd Requires(preun): systemd Requires(postun): systemd
Yeah, the %description in systemd needs to be updated. Please close the bug here.
Fixed in https://src.fedoraproject.org/rpms/systemd/c/5abc564f039462ec8a07d0fd448544451a0ab531?branch=master
Metadata Update from @till: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.