#921 systemd-rpm-macros and %{?systemd_requires} contradiction
Closed: fixed a month ago by till. Opened 2 months ago by till.

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.

Metadata Update from @till:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a month ago

Login to comment on this ticket.

Metadata