https://bugzilla.redhat.com/show_bug.cgi?id=1118740
--- Comment #27 from Yaakov Selkowitz yselkowi@redhat.com --- (In reply to Zbigniew Jędrzejewski-Szmek from comment #26)
I think the macro should contain the whole thing, to make it as simple to use as possible. But that's a detail that can be worked out later.
I'm still not convinced of the need for even Recommends: systemd here. Compare the desktop-database, mimeinfo, and icon-cache scriptlets, which explicitly do NOT mandate any Requires:. I believe this is the same: if systemd is already present, then the scriptlets will succeed, otherwise they are ignored. Only packages which are completely useless outside of systemd should then use %systemd_requires.
The changes required are trivial to implement, just a few lines in systemd.macros. We can just add it and allow people to use it, but the FPC should probably update the guidelines to mention the new macro.
Yes, this should go through FPC once we have some agreement on the above.