Drop legacy ansible package support and make compatibile with RHEL 8.6+

epel8
Neal Gompa 3 years ago
parent 04cd2f83ed
commit d349c3c366

@ -38,7 +38,7 @@ def main():
f"ansible-collection({info['namespace']}.{info['name']}) = {info['version']}"
)
if args.action == "requires":
print("(ansible >= 2.9.0 or ansible-core >= 2.11.0)")
print("ansible-core >= 2.12.0")
for dep, req in info.get("dependencies", {}).items():
print(f"ansible-collection({dep})", end="")
if req == "*":

@ -1,6 +1,6 @@
Name: ansible-packaging
Version: 1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: RPM packaging macros and generators for Ansible collections
License: GPLv3+
@ -13,7 +13,7 @@ Source3: COPYING
Requires: ansible-core
# Conflict with anything providing its own copies of these files
%if ! (0%{?rhel} >= 9)
%if ! (0%{?rhel} >= 8)
Conflicts: ansible-core < 2.12.1-3
%endif
Conflicts: ansible <= 2.9.99
@ -47,6 +47,10 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
%changelog
* Mon Jan 31 2022 Neal Gompa <ngompa@fedoraproject.org> - 1-3
- Drop vestigial support for the legacy ansible package
- Make compatibile with RHEL 8.6+
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save