#163 Install/update pyproject-rpm-macros
Merged 2 years ago by zuul. Opened 2 years ago by music.
music/fedora-zuul-jobs-config pyproject  into  master

file modified
+3 -1
@@ -6,7 +6,9 @@ 

          name: krb-secret

      - name: Install additional rpm macro packages

        yum:

-         name: python-srpm-macros

+         name:

+           - python-srpm-macros

+           - pyproject-rpm-macros

          state: latest

        become: true

      - include_role:

Install/update pyproject-rpm-macros when we install/update python-srpm-macros.

This fixes spurious failures when recent pyproject-srpm-macros features, such as the -w argument to the pyproject_buildrequires macro, are required in order to generate the SRPM.

This is a follow-up to https://pagure.io/fedora-zuul-jobs-config/pull-request/140.

See https://src.fedoraproject.org/rpms/python-hatchling/pull-request/8 for an example of the problem this is intended to solve.

Build succeeded.

Metadata Update from @fbo:
- Pull-request tagged with: gateit

2 years ago

Build succeeded (gate pipeline).

Pull-Request has been merged by zuul

2 years ago

Thanks. This works as expected.

Metadata