I discovered this issue when processing 'fedora-review' tool output.
It reported:
| - systemd_post is invoked in %post, systemd_preun in %preun, and
| systemd_postun in %postun for Systemd service files.
| Note: Systemd service file(s) in maxscale
| See: https://docs.fedoraproject.org/en-US/packaging-
| guidelines/Scriptlets/#_scriptlets
And I remembered there is a macro for that, but the macro description in the docs
did not match the requirement stated by 'fedora-review'.
Fedora Rawhide, 40:
dnf install systemd-rpm-macros
rpm --eval %{?systemd_requires}
| Requires(post): systemd
| Requires(preun): systemd
| Requires(postun): systemd
I discovered this issue when processing 'fedora-review' tool output.
It reported:
| - systemd_post is invoked in %post, systemd_preun in %preun, and
| systemd_postun in %postun for Systemd service files.
| Note: Systemd service file(s) in maxscale
| See: https://docs.fedoraproject.org/en-US/packaging-
| guidelines/Scriptlets/#_scriptlets
And I remembered there is a macro for that, but the macro description in the docs
did not match the requirement stated by 'fedora-review'.