Bug 1535692

Summary: Missing python-macro-helper file
Product: [Fedora] Fedora Reporter: Laura Abbott <labbott>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: flepied, ignatenko, kparal, mhroncok, mjw, packaging-team-maint, pmatilai, pmoravco, vmukhame
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-4.14.1-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 08:28:28 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: 1536202    

Description Laura Abbott 2018-01-17 22:39:54 UTC
The python-macro-helper file was added in https://github.com/rpm-software-management/rpm/commit/7ac3f07ac41a2 but it doesn't seem to be installed.

If I run

rpmspec -P <spec file with python macros>

I get

/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory

And if I check, that file isn't present in /usr/lib/rpm

Comment 1 Panu Matilainen 2018-01-18 09:11:17 UTC
Oops. Should've double-checked it really is there but then since there was no unpackaged files errors on build... 

Thanks for reporting, fixed in rpm-4.14.1-2.fc28.

Comment 2 Miro Hrončok 2018-01-18 23:49:38 UTC
*** Bug 1536231 has been marked as a duplicate of this bug. ***

Comment 3 Frédéric Lepied 2018-01-27 10:23:01 UTC
It seems to still not be present in rpm-4.14.1-2.fc28

$ rpm -qpl rpm-4.14.1-2.fc28.x86_64.rpm|grep python-macro-helper
$

Comment 4 Miro Hrončok 2018-01-28 11:07:56 UTC
$ rpm -ql rpm-build

?

Comment 5 Frédéric Lepied 2018-01-30 08:28:28 UTC
Sorry about the noise. It's working now.