Red Hat Bugzilla – Bug 850365
Introduce new systemd-rpm macros in wesnoth spec file
Last modified: 2013-08-12 14:33:31 EDT
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. There are slight differences between what they do and what the wesnoth.spec file does.
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?
 # RPM macros for packages installing systemd unit files
 wesnoth.spec: Attachment 781670 [details]
I think it should be safe now to drop those lines.