Bug 2126557 - Drop ansible/ansible-core's dependency on ansible-packaging
Summary: Drop ansible/ansible-core's dependency on ansible-packaging
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: ansible-packaging
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Maxwell G
QA Contact:
URL:
Whiteboard:
Depends On: 2126889 2126893 2126894
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-13 20:51 UTC by Maxwell G
Modified: 2023-02-07 15:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Maxwell G 2022-09-13 20:51:20 UTC
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.

Comment 1 Ben Cotton 2023-02-07 15:10:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.


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