Bug 857382 - Introduce new systemd-rpm macros in polkit spec file
Summary: Introduce new systemd-rpm macros in polkit spec file
Alias: None
Product: Fedora
Classification: Fedora
Component: polkit
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 850016
TreeView+ depends on / blocked
Reported: 2012-09-14 09:10 UTC by Václav Pavlín
Modified: 2013-05-24 20:42 UTC (History)
1 user (show)

Fixed In Version: polkit-pkla-compat-0.1-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-24 20:42:33 UTC

Attachments (Terms of Use)

Description Václav Pavlín 2012-09-14 09:10:30 UTC
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).

Comment 1 Fedora Admin XMLRPC Client 2013-02-01 23:59:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Miloslav Trmač 2013-05-11 01:02:52 UTC
Thanks for your report, added in polkit-0.110-4.fc19.

(The macros don't make _that_ much sense for polkit, because it is exclusively bus-activated - but they do the equivalent of (systemctl daemon-reload) which is needed, and hasn't been done before; so using them is overall beneficial.)

Comment 3 Fedora Update System 2013-05-11 01:04:00 UTC
polkit-pkla-compat-0.1-2.fc19, polkit-0.110-4.fc19 has been submitted as an update for Fedora 19.

Comment 4 Fedora Update System 2013-05-11 18:07:06 UTC
Package polkit-pkla-compat-0.1-2.fc19, polkit-0.110-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing polkit-pkla-compat-0.1-2.fc19 polkit-0.110-4.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-05-24 20:42:33 UTC
polkit-pkla-compat-0.1-2.fc19, polkit-0.110-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.