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).
Bug 991376 is for a complete rewrite of the wesnoth.spec file. Could you take a look at it? Bug 991376 - RFE: convert wesnoth.spec file to use scons
Hi, I see systemd macros are not used in the new spec file - do you need any help with it?
Thanks, Václav. That's what I needed to know. CCing Will Woods. Will: There are new systemd macros for spec files.[1] There are slight differences between what they do and what the wesnoth.spec file does.[2] Could you take a look? (Comment 0 has links to more info.) Václav: The wesnoth.spec file has some lines for SysV compatibility. What do you advise for those? [1] # RPM macros for packages installing systemd unit files http://cgit.freedesktop.org/systemd/systemd/tree/src/core/macros.systemd.in [2] wesnoth.spec: Attachment 781670 [details]
I think it should be safe now to drop those lines.