Currently, `ansible-core` and `ansible 2.9` have ``` # Require packaging macros if rpm-build exists # This makes the transition seamless for other packages Requires: (ansible-packaging if rpm-build) ``` This was added to avoid breaking collections after the Ansible collection macros and dep generator were split out into the `ansible-packaging` component. I am planning to remove this compatibility layer in the coming weeks, as it pulls in extra dependencies that *users* (who have rpm-build installed) don't need and causes other issues. Collection packages must replace any build requirement on ansible or ansible-core with a single `BuildRequires: ansible-packaging` line. This is a tracking bug. Individual bugs will be reported against the packages that still need to be fixed.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.