Red Hat Bugzilla – Bug 851227
Introduce new systemd-rpm macros in apcupsd spec file
Last modified: 2012-09-17 19:55:22 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).
Created attachment 606620 [details]
Patch replaces scriptlets with new systemd macros
apcupsd-3.14.10-6.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing apcupsd-3.14.10-6.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
apcupsd-3.14.10-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.