fedora-review cites the following issue
- 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 touchegg See: https://docs.fedoraproject.org/en-US/packaging- guidelines/Scriptlets/#_scriptlets
when macros are used in the systemd scriplet arguments.
This does not work
%post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun %{name}.service
but hardcoding the service name does.
Please see https://bugzilla.redhat.com/show_bug.cgi?id=2035944 for the full context.
Login to comment on this ticket.