Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1961773

Summary: failed to build as pver macros not expanded correctly
Product: Red Hat OpenStack Reporter: Ade Lee <alee>
Component: ansible-tripleo-ipaAssignee: Ade Lee <alee>
Status: CLOSED NOTABUG QA Contact: Jeremy Agee <jagee>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)Keywords: Triaged, ZStream
Target Milestone: z7   
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-30 21:55:10 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 Ade Lee 2021-05-18 16:37:15 UTC
Description of problem:

When attempting to build rdopkg, we get errors in parsing the spec file - in particular in parsing the pyver macros.

The solution - which is already in place upstream - is to expand the vars correctly as in here:

https://github.com/rdo-packages/tripleo-ipa-distgit/blob/train-rdo/ansible-tripleo-ipa.spec#L8-L10

This needs to be done to the downstream spec file.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Ade Lee 2021-06-30 21:55:10 UTC
This turns out to be a problem with my build environment - which was f32.
Builds in dlrn are working just fine.

The issue is https://fedoraproject.org/wiki/Changes/PythonMacroError

which is fixed by adding the following line in ~/.rpmmacros

 %__python /usr/bin/python3