blob: ec40b55c1f5fa7b5668581c6dacef0ba544581b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
Name: ansible
Summary: Radically simple IT automation
Version: 9.9.0
Release: 1
License: GPLv3+
Source0: https://files.pythonhosted.org/packages/e9/49/50f294cc11269e8dda662554962e578284abd3f685f80fdd4b4d2bcdfb86/ansible-9.9.0.tar.gz
# Source1: ansible.attr
# Source2: ansible-generator
# Source3: macros.ansible
Url: http://ansible.com
BuildArch: noarch
Provides: ansible = %{version}
Conflicts: ansible >= 10
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General build requires
BuildRequires: ansible-core = 2.16.10
# General requires
Requires: ansible-core = 2.16.10
%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
%autosetup -n ansible-%{version}
# dependency tokens must begin with alpha-numeric
sed -i "s/~= 2.16.10/>= 2.16.10/g" setup.cfg
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
%build
%py3_build
%install
%py3_install
#install -Dpm0644 -t %{buildroot}%{_fileattrsdir} ansible.attr
#install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible
#install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
%files
%license COPYING
%doc README.rst PKG-INFO CHANGELOG-v9.rst
%{_bindir}/ansible-community
%{python3_sitelib}/ansible_collections/
%{python3_sitelib}/ansible-9.9.0-py3.11.egg-info/
%changelog
* Mon Aug 19 2024 OpenStack_SIG <openstack@openeuler.org> - 2.16.10-1
- Init package ansible-core of version 2.16.10
|