2019-04-27 10:27:06 +00:00
|
|
|
|
#
|
2020-02-20 15:44:25 +00:00
|
|
|
|
# spec file for package ansible-runner
|
2019-04-27 10:27:06 +00:00
|
|
|
|
#
|
2020-02-20 15:44:25 +00:00
|
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2019-04-27 10:27:06 +00:00
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2020-02-20 15:44:25 +00:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
2019-04-27 10:27:06 +00:00
|
|
|
|
|
|
|
|
|
Name: ansible-runner
|
2020-02-20 15:44:25 +00:00
|
|
|
|
Version: 1.4.4
|
2019-04-27 10:27:06 +00:00
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Package for interfacing with Ansible
|
2020-02-20 15:44:25 +00:00
|
|
|
|
License: Apache-2.0 AND GPL-3.0-or-later
|
2019-04-27 10:27:06 +00:00
|
|
|
|
Group: Development/Languages/Python
|
2020-02-20 15:44:25 +00:00
|
|
|
|
URL: https://github.com/ansible/ansible-runner
|
2019-04-27 10:27:06 +00:00
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/ansible-runner/ansible-runner-%{version}.tar.gz
|
2020-02-20 15:44:25 +00:00
|
|
|
|
BuildRequires: fdupes
|
2019-04-27 10:27:06 +00:00
|
|
|
|
BuildRequires: python-rpm-macros
|
2020-02-20 15:44:25 +00:00
|
|
|
|
BuildRequires: python3-PyYAML
|
2019-04-27 13:06:48 +00:00
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-pexpect
|
|
|
|
|
BuildRequires: python3-psutil
|
2020-02-20 15:44:25 +00:00
|
|
|
|
BuildRequires: python3-pytest
|
2019-04-27 13:06:48 +00:00
|
|
|
|
BuildRequires: python3-python-daemon
|
2020-02-20 15:44:25 +00:00
|
|
|
|
BuildRequires: python3-setuptools
|
2019-04-27 13:06:48 +00:00
|
|
|
|
BuildRequires: python3-six
|
2020-02-20 15:44:25 +00:00
|
|
|
|
Requires: python3-PyYAML
|
2019-04-27 10:27:06 +00:00
|
|
|
|
Requires: python3-pexpect >= 4.5
|
|
|
|
|
Requires: python3-psutil
|
|
|
|
|
Requires: python3-python-daemon
|
|
|
|
|
Requires: python3-six >= 1.12
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Ansible Runner is a tool and python library that helps when interfacing with
|
|
|
|
|
Ansible directly or as part of another system whether that be through a
|
|
|
|
|
container image interface, as a standalone tool, or as a Python module that
|
|
|
|
|
can be imported. The goal is to provide a stable and consistent interface
|
|
|
|
|
abstraction to Ansible. This allows Ansible to be embedded into other
|
|
|
|
|
systems that don’t want to manage the complexities of the interface on
|
|
|
|
|
their own (such as CI/CD platforms, Jenkins, or other automated tooling)
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-02-20 15:44:25 +00:00
|
|
|
|
%setup -q
|
2019-04-27 10:27:06 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python3_install
|
|
|
|
|
# dont polute the namespace with tests
|
|
|
|
|
rm -r %{buildroot}%{python3_sitelib}/test/
|
2020-02-20 15:44:25 +00:00
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2019-04-27 13:06:48 +00:00
|
|
|
|
|
2019-04-27 10:27:06 +00:00
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE.md
|
|
|
|
|
%{_bindir}/ansible-runner
|
|
|
|
|
%{python3_sitelib}/ansible_runner
|
|
|
|
|
%{python3_sitelib}/ansible_runner-%{version}-py*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|