Bug 850285

Summary: Introduce new systemd-rpm macros in qemu spec file
Product: [Fedora] Fedora Reporter: Lukáš Nykrýn <lnykryn>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 18CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, knoel, pbonzini, rjones, scottt.tw, virt-maint
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-01-26 16:56:55 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    
Attachments:
Description Flags
specfile patch to use the new macros none

Description Lukáš Nykrýn 2012-08-21 14:02:05 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 Cole Robinson 2012-10-07 19:16:26 UTC
Created attachment 623095 [details]
specfile patch to use the new macros

Since this isn't urgent, I'm gonna hold off on this till F18 is out the door, since this will break building rawhide packages for F17 virt-preview:

http://fedoraproject.org/wiki/Virtualization_Preview_Repository

Comment 2 Fedora Update System 2013-01-16 18:20:49 UTC
qemu-1.2.2-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/qemu-1.2.2-2.fc18

Comment 3 Fedora Update System 2013-01-26 16:03:08 UTC
qemu-1.2.2-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.