Skip to content

Commit

Permalink
Update requests and pyaml requirements to python 3.12 for ansible-col…
Browse files Browse the repository at this point in the history
…lection-redhat-satellite
  • Loading branch information
Odilhao committed Feb 19, 2025
1 parent 740a2eb commit f95b00d
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%global collection_name satellite
%global collection_directory %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/%{collection_name}

%global release 1
%global release 2

Name: ansible-collection-%{collection_namespace}-%{collection_name}
Version: 5.1.0
Expand All @@ -21,10 +21,13 @@ Provides: ansible-collection-theforeman-foreman = %{version}
Provides: bundled(python-apypie) = 0.5.0

Requires: ansible-core
Requires: (python3-requests if ansible-core >= 1:2.14.7)
Requires: (python3-pyyaml if ansible-core >= 1:2.14.7)
Requires: (python3-requests if (ansible-core >= 1:2.14.7 and ansible-core < 1:2.16.14-3))
Requires: (python3-pyyaml if (ansible-core >= 1:2.14.7 and ansible-core < 1:2.16.14-3))
Requires: (python3.11-requests if (ansible-core >= 2.14.2-3 and ansible-core < 1:2.14.7))
Requires: (python3.11-pyyaml if (ansible-core >= 2.14.2-3 and ansible-core < 1:2.14.7))
Requires: (python3.12-requests if ansible-core >= 1:2.16.14-3)
Requires: (python3.12-pyyaml if ansible-core >= 1:2.16.14-3)


%description
Collection of Ansible Modules to manage Satellite installations.
Expand All @@ -48,6 +51,9 @@ cp -a ./* %{buildroot}%{collection_directory}


%changelog
* Wed Feb 19 2025 Odilon Sousa <[email protected]> - 5.1.0-2
- Update requests and pyaml requirements to python 3.12

* Fri Dec 06 2024 Evgeni Golov - 5.1.0-1
- Release ansible-collection-redhat-satellite 5.1.0

Expand Down

0 comments on commit f95b00d

Please sign in to comment.