Bug 1000072

Summary: systemd rpm spec macros are broken
Product: [Fedora] Fedora Reporter: Carl Roth <roth>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: codonell, fweimer, jakub, johannbg, law, lnykryn, mschmidt, msekleta, pfrankli, plautrba, schwab, spoyarek, systemd-maint, vpavlin, zbyszek
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-08-22 15:37:22 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:

Description Carl Roth 2013-08-22 15:29:39 UTC
Description of problem:

The macro expansion of the new '%systemd_xxx' macros seems to not be working correctly.  I get something like this when I upgrade a package that includes them:

root@shell:   Updating   : nscd-2.17-13.fc19.x86_64                                    8/26 
root@shell: /var/tmp/rpm-tmp.E2RdOs: line 1: fg: no job control
root@shell: warning: %post(nscd-2.17-13.fc19.x86_64) scriptlet failed, exit status 1
root@shell: Non-fatal POSTIN scriptlet failure in rpm package nscd-2.17-13.fc19.x86_64


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Carl Roth 2013-08-22 15:30:04 UTC
See
systemd-201-2.fc18.7.x86_64

Comment 2 Michal Schmidt 2013-08-22 15:37:22 UTC
Apparently the macros were not expanded during the package build. Needs BuildRequires: systemd ?

*** This bug has been marked as a duplicate of bug 999924 ***