Sync from SUSE:SLFO:Main ansible-core revision 8697e848c940ec7aade4f4cf4461069b

This commit is contained in:
Adrian Schröter 2024-11-28 17:39:44 +01:00
parent f3eb2234ed
commit 1ae64931be
5 changed files with 1038 additions and 25 deletions

BIN
ansible-core-2.15.8.tar.gz (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
#
# spec file for package ansible-core
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,35 +38,35 @@
%endif
Name: ansible-core
Version: 2.15.8
Version: 2.17.6
Release: 0
Summary: Radically simple IT automation
License: GPL-3.0-or-later
URL: https://ansible.com/
Source: https://files.pythonhosted.org/packages/source/a/ansible-core/ansible-core-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/a/ansible-core/ansible_core-%{version}.tar.gz#/ansible_core-%{version}.tar.gz
Source1: ansible_core-%{version}.tar.gz.sha256
BuildArch: noarch
# cannot be installed with ansible < 3 or ansible-base
Conflicts: ansible < 3
Conflicts: ansible-base
# https://github.com/ansible/ansible/blob/devel/setup.cfg#L40
BuildRequires: %{ansible_python}-base >= 3.9
# https://github.com/ansible/ansible/blob/stable-2.17/setup.cfg#L40
BuildRequires: %{ansible_python}-base >= 3.10
BuildRequires: %{ansible_python}-setuptools
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# importlib_resources not required, as we are using python 3.10 or higher
# SECTION test requirements
BuildRequires: %{ansible_python}-botocore
# https://github.com/ansible/ansible/blob/stable-2.17/requirements.txt
BuildRequires: %{ansible_python}-Jinja2 >= 3.0.0
BuildRequires: %{ansible_python}-PyYAML >= 5.1
BuildRequires: %{ansible_python}-cryptography
BuildRequires: %{ansible_python}-curses
BuildRequires: %{ansible_python}-packaging
BuildRequires: %{ansible_python}-pytest
BuildRequires: %{ansible_python}-pytz
# https://github.com/ansible/ansible/blob/devel/requirements.txt
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: (%{ansible_python}-resolvelib >= 0.5.3 with %{ansible_python}-resolvelib < 1.1.0)
# SECTION test requirements
###BuildRequires: %{ansible_python}-botocore
###BuildRequires: %{ansible_python}-curses
###BuildRequires: %{ansible_python}-pytest
###BuildRequires: %{ansible_python}-pytz
# /SECTION
# SECTION docs
BuildRequires: %{ansible_python}-docutils
@ -75,18 +75,17 @@ Requires: %{ansible_python}-Jinja2 >= 3.0.0
Requires: %{ansible_python}-PyYAML >= 5.1
Requires: %{ansible_python}-cryptography
Requires: %{ansible_python}-packaging
# https://github.com/ansible/ansible/blob/devel/requirements.txt
# importlib_resources not required, as we are using python 3.10 or higher
Requires: (%{ansible_python}-resolvelib >= 0.5.3 with %{ansible_python}-resolvelib < 1.1.0)
# ansible-documentation is a separate package since 2.15.3
Recommends: ansible-documentation
%description
Ansible is a radically simple IT automation system. It handles
configuration management, application deployment, cloud provisioning,
ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex
changes like zero-downtime rolling updates with load balancers easy. More information on the Ansible `website <https://ansible.com/>`_.
Ansible is a radically simple IT automation system. It handles configuration
management, application deployment, cloud provisioning, ad-hoc task execution,
network automation, and multi-node orchestration. Ansible makes complex changes
like zero-downtime rolling updates with load balancers easy. More information
on the Ansible website <https://ansible.com/>.
%package -n ansible-test
Summary: Tool for testing ansible plugin and module code
@ -105,7 +104,7 @@ modules can be written in any language and are transferred to managed machines
automatically.
%prep
%setup -q -n ansible-core-%{version}
%setup -q -n ansible_core-%{version}
for file in .git_keep .travis.yml ; do
find . -name "$file" -delete
@ -186,7 +185,7 @@ cp -v ./man1/*.1 %{buildroot}/%{_mandir}/man1/
#python3 bin/ansible-test units -v --python %%{python3_version}
%files
%doc changelogs/CHANGELOG-v2.15.rst changelogs/changelog.yaml
%doc changelogs/CHANGELOG-v2.17.rst changelogs/changelog.yaml
%license COPYING licenses/Apache-License.txt licenses/MIT-license.txt licenses/PSF-license.txt licenses/simplified_bsd.txt
%{_bindir}/ansible
%{_bindir}/ansible-config

BIN
ansible_core-2.17.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
3e53970b7cebfe2adb39b711c1e2f8bbfcbedac828da51dc0357a19070638e95 ansible_core-2.17.6.tar.gz