Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1792930 - python-congressclient fails to create SRPM in Fedora
Summary: python-congressclient fails to create SRPM in Fedora
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-congressclient
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alfredo Moralejo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 12:14 UTC by Miro Hrončok
Modified: 2020-01-20 18:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-20 18:46:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 12:14:39 UTC
python-congressclient fails to create SRPM due to unescaped nested macros.

[python-congressclient (master)]$ fedpkg srpm
error: Cannot use %python if %__python wasn't redefined to something other than /usr/bin/python.
error: lua script failed: [string "<lua>"]:4: error expanding macro
error: .../python-debtcollector/python-congressclient.spec: line 8: Macro %pyver_sitelib failed to expand
error: query of specfile .../python-congressclient/python-congressclient.spec failed, can't parse

Could not execute srpm: Could not get n-v-r-e from .../python-congressclient/python-congressclient.spec


Possible fix is at https://src.fedoraproject.org/rpms/python-debtcollector/pull-request/3

Alternate fix is also described there.

This blocks the Python 3.9 rebuild.


Note You need to log in before you can comment on or make changes to this bug.