Red Hat Bugzilla – Bug 850232
Introduce new systemd-rpm macros in nss-pam-ldapd spec file
Last modified: 2013-01-18 15:43:36 EST
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).
Created attachment 654113 [details]
Patch replaces scriptlets with new systemd macros pro F18+ and RHEL7+
Looks like we missed the F18 release, but it's in for F19.