Bug 856659

Summary: Introduce new systemd-rpm macros in colord spec file
Product: [Fedora] Fedora Reporter: Václav Pavlín <vpavlin>
Component: colordAssignee: Richard Hughes <hughsient>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: hughsient, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-24 11:55:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 850016    
Attachments:
Description Flags
Patch adds new systemd rpm macros to spec file none

Description Václav Pavlín 2012-09-12 14:25:37 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 Hughes 2013-04-24 10:33:29 UTC
Am I supposed to do something here?

Comment 2 Václav Pavlín 2013-04-24 11:41:21 UTC
Created attachment 739408 [details]
Patch adds new systemd rpm macros to spec file

Hi, it would be nice if you could review and apply this patch.

Comment 3 Richard Hughes 2013-04-24 11:55:07 UTC
Applied, thanks. I changed %systemd_postun_with_restart to %systemd_postun as colord carries system state.