This means the packaging guidelines have to retain the original %trigger snippets for the conversion.Īll macros except for the Requires macro approved for inclusion in FPC guidelines, assuming that the proper presets are put in place (+1:6, 0:0, -1:0).
My main objective was to standardize the common bits between distros, but since the sysv conversion bits is so drastically different I didn't cover those. Note that I avoided creating a macro for the sysv conversion snippets. Scroll down to 'Installing Systemd Service Files' in the man page! I wrote a bit of (generic) documentation for these new macros in the daemon(7) man page: Ideally I'd like the FPC to have a look at it first, before I push this out into Rawhide. The macro code does not exist in Rawhide yet, only in systemd git. However, there is one major change: this code makes use of systemd 'presets', as documented here: These are basically 1:1 copies of the snippets currently suggested on: I'd like to ask the FPC to change the packaging guidelines to recommend usage of these macros. I have commited to systemd git a set of RPM macros that shall unify the systemd service installation/deinstallation scriptlets used by the various distributions.