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: ---   
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