Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2168193

Summary: Update pyproject-rpm-macros in c9s to 1.6.x (and optionally add pyproject-srpm-macros to the default buildroot)
Product: Red Hat Enterprise Linux 9 Reporter: Miro Hrončok <mhroncok>
Component: pyproject-rpm-macrosAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jwboyer, lzachar, maxwell, mbanas, ppisar, torsava, zveleba
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyproject-rpm-macros-1.6.2-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2173577 (view as bug list) Environment:
Last Closed: 2023-05-09 07:54:40 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: 2173577    

Description Miro Hrončok 2023-02-08 12:26:48 UTC
I'd like to get this in:

https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros/-/merge_requests/17

Possibly with https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros/-/merge_requests/16

Backporting https://src.fedoraproject.org/rpms/redhat-rpm-config/c/29a0bd8be0b44c4b64be2a3b892d3aa81c2a6d2b?branch=rawhide is optional.

The above requires adding pyproject-srpm-macros to AppStream. Let's do that now even if the change in redhat-rpm-config does not make it into RHEL 9.2.

Comment 2 Miro Hrončok 2023-02-14 13:04:47 UTC
Each change was accompanied by tests and all the tests pass (except for the one test that is waiting on https://gitlab.com/redhat/centos-stream/rpms/redhat-rpm-config/-/merge_requests/27 ) -- hence setting Verified:Tested.

Comment 8 Miro Hrončok 2023-02-14 16:59:04 UTC
I've opened https://issues.redhat.com/browse/CS-1463 to include pyproject-srpm-macros in c9s AppStream.

Comment 9 Miro Hrončok 2023-02-21 09:18:18 UTC
redhat-rpm-config-199-1.el9 adds the dependency on pyproject-srpm-macros.

However, it failed gating with errors like:

---------------------------------------------------
Problems with dependency set:
nothing provides pyproject-srpm-macros needed by redhat-rpm-config-199-1.el9.noarch
---------------------------------------------------

Will need to wait until pyproject-srpm-macros makes it to AppStream before rerunning the tests.

Comment 11 Miro Hrončok 2023-02-22 10:51:05 UTC
$ repoquery -q --repo=RHEL9-AppStream --latest=1 pyproject-srpm-macros
pyproject-srpm-macros-0:1.6.2-1.el9.noarch

But still not in c9s:

$ repoquery -q --repo=c9s-appstream --latest=1 pyproject-srpm-macros
(nothing)


https://composes.stream.centos.org/development/ shows no compose since 2023-02-19.

Comment 14 Miro Hrončok 2023-02-23 10:03:15 UTC
$ repoquery -q --repo=c9s-appstream --latest=1 pyproject-srpm-macros
pyproject-srpm-macros-0:1.6.2-1.el9.noarch

And redhat-rpm-config-199-1.el9 passed gating, requires pyproject-srpm-macros now.

Comment 23 errata-xmlrpc 2023-05-09 07:54:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pyproject-rpm-macros bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2436