Bug 850184 - Introduce new systemd-rpm macros in libguestfs spec file
Summary: Introduce new systemd-rpm macros in libguestfs spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: 18
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 850016
TreeView+ depends on / blocked
 
Reported: 2012-08-21 13:46 UTC by Lukáš Nykrýn
Modified: 2012-08-21 14:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-21 13:54:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukáš Nykrýn 2012-08-21 13:46:28 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 Richard W.M. Jones 2012-08-21 13:54:35 UTC
I pushed the following to Rawhide:
http://pkgs.fedoraproject.org/cgit/libguestfs.git/commit/?id=b6d75ce6689d37797709ce115070dd8ba7aee629

It will get merged into f18 shortly.


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