Bug 850335 - Introduce new systemd-rpm macros in targetcli spec file
Summary: Introduce new systemd-rpm macros in targetcli spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: targetcli
Version: 18
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andy Grover
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 850016
TreeView+ depends on / blocked
 
Reported: 2012-08-21 14:11 UTC by Lukáš Nykrýn
Modified: 2012-12-13 18:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-13 18:56:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch replaces scriptlets with new systemd macros (1.52 KB, patch)
2012-12-13 13:30 UTC, Lukáš Nykrýn
no flags Details | Diff

Description Lukáš Nykrýn 2012-08-21 14:11: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 Lukáš Nykrýn 2012-12-13 13:30:18 UTC
Created attachment 662967 [details]
Patch replaces scriptlets with new systemd macros

Comment 2 Andy Grover 2012-12-13 18:56:05 UTC
very nice, thanks! building updated pkgs for f18 and rawhide now.


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