Bug 850142

Summary: Introduce new systemd-rpm macros in hail spec file
Product: [Fedora] Fedora Reporter: Lukáš Nykrýn <lnykryn>
Component: hailAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 18CC: jgarzik, zaitcev
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 18:34:10 UTC Type: ---
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    

Description Lukáš Nykrýn 2012-08-21 13:40:33 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 Pete Zaitcev 2013-01-22 03:16:29 UTC
Fixed this in git, committed and pushed as hail-0.8-0.11.gf9c5b967, but
cannot build due to a random conflict in Rawhide (gcc vs libtool).

Comment 2 Pete Zaitcev 2013-03-19 18:34:10 UTC
Hmm, weird. Apparently I did build hail-0.8-0.13.gf9c5b967.fc19 after all.
Anyway, fixed in hail-0.8-0.13.gf9c5b967.fc20, closing.