Sync from SUSE:SLFO:Main ansible-9 revision 10d919e2cb7923c80467650797c84c1c
This commit is contained in:
commit
0ebdcbe3dc
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
4
_service
Normal file
4
_service
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="manual">
|
||||||
|
</service>
|
||||||
|
</services>
|
BIN
ansible-9.9.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
ansible-9.9.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3210
ansible-9.changes
Normal file
3210
ansible-9.changes
Normal file
File diff suppressed because it is too large
Load Diff
105
ansible-9.spec
Normal file
105
ansible-9.spec
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ansible-9
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
|
# Leap15, SLES15
|
||||||
|
%if %pythons == "python310"
|
||||||
|
%define ansible_python python310
|
||||||
|
%define ansible_python_executable python3.10
|
||||||
|
%define ansible_python_sitelib %python310_sitelib
|
||||||
|
%endif
|
||||||
|
%if %pythons == "python311"
|
||||||
|
%define ansible_python python311
|
||||||
|
%define ansible_python_executable python3.11
|
||||||
|
%define ansible_python_sitelib %python311_sitelib
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# Tumbleweed
|
||||||
|
%define pythons python3
|
||||||
|
%define ansible_python python3
|
||||||
|
%define ansible_python_executable python3
|
||||||
|
%define ansible_python_sitelib %python3_sitelib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: ansible-9
|
||||||
|
Version: 9.9.0
|
||||||
|
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/ansible-%{version}.tar.gz
|
||||||
|
Source99: ansible-rpmlintrc
|
||||||
|
BuildRequires: %{ansible_python}-base >= 3.10
|
||||||
|
BuildRequires: %{ansible_python}-setuptools
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
|
||||||
|
# required to fix the azure collection line endings
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: (ansible-core >= 2.16.9 with ansible-core < 2.17)
|
||||||
|
# /SECTION
|
||||||
|
|
||||||
|
Requires: %{ansible_python}-base >= 3.10
|
||||||
|
Requires: (ansible-core >= 2.16.9 with ansible-core < 2.17)
|
||||||
|
|
||||||
|
# Conflicts with ansible 10.x or higher
|
||||||
|
Conflicts: ansible >= 10
|
||||||
|
|
||||||
|
# Do not check any files in collections for requires
|
||||||
|
%global __requires_exclude_from ^%{ansible_python_sitelib}/.*$
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Ansible is a radically simple model-driven configuration management, multi-node
|
||||||
|
deployment, and remote task execution system. Ansible works over SSH and does
|
||||||
|
not require any software or daemons to be installed on remote nodes. Extension
|
||||||
|
modules can be written in any language and are transferred to managed machines
|
||||||
|
automatically.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ansible-%{version}
|
||||||
|
|
||||||
|
for file in .git_keep .travis.yml ; do
|
||||||
|
find . -name "$file" -delete
|
||||||
|
done
|
||||||
|
|
||||||
|
# remove .keep and .gitignore files
|
||||||
|
find ./ansible_collections/ -iname .gitignore -delete
|
||||||
|
find ./ansible_collections/ -iname .keep -delete
|
||||||
|
|
||||||
|
# azure collection has wrong file endings
|
||||||
|
find ./ansible_collections/azure -type f -exec dos2unix {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%fdupes %{buildroot}/%{ansible_python_sitelib}/ansible_collections/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc CHANGELOG-v9.rst README.rst
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/ansible-community
|
||||||
|
%{ansible_python_sitelib}/
|
||||||
|
|
||||||
|
%changelog
|
4
ansible-rpmlintrc
Normal file
4
ansible-rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Collections are scripts by definition but are executed from ansible not directly
|
||||||
|
addFilter("non-executable-script.*/usr/lib/python.*/site-packages/ansible_collections/.*");
|
||||||
|
# ignore hidden files inside collections
|
||||||
|
addFilter("hidden-file-or-dir /usr/lib/python.*/site-packages/ansible_collections/");
|
Loading…
Reference in New Issue
Block a user