Update licensing
This commit is contained in:
parent
b013ba0c70
commit
6b032c863f
@ -14,7 +14,11 @@ Summary: A radically simple IT automation system
|
||||
Version: 2.13.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: GPLv3+
|
||||
# The main license is GPLv3+. Many of the files in lib/ansible/module_utils
|
||||
# are BSD licensed. There are various files scattered throughout the codebase
|
||||
# containing code under different licenses.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later AND BSD-2-Clause AND PSF-2.0 AND MIT AND Apache-2.0
|
||||
License: GPLv3+ and BSD and Python and MIT and ASL 2.0
|
||||
Source: https://github.com/ansible/ansible/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
# A 2.10.3 async test uses /usr/bin/python, which we do not have by default.
|
||||
# Patch the test to use /usr/bin/python3 as we have for our build.
|
||||
@ -32,9 +36,33 @@ Patch: https://github.com/ansible/ansible/pull/77961.patch
|
||||
Url: https://ansible.com
|
||||
BuildArch: noarch
|
||||
|
||||
# Require packaging macros if rpm-build exists
|
||||
# This makes the transition seamless for other packages
|
||||
Requires: (ansible-packaging if rpm-build)
|
||||
# Virtual provides for bundled libraries
|
||||
# Search for `_BUNDLED_METADATA` to find them
|
||||
|
||||
# lib/ansible/module_utils/urls.py
|
||||
# SPDX-License-Identifier: BSD-2-Clause AND PSF-2.0
|
||||
# Fedora-License-Identifier: BSD and Python
|
||||
Provides: bundled(python3dist(backports-ssl-match-hostname)) = 3.7.0.1
|
||||
|
||||
# lib/ansible/module_utils/distro/*
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Fedora-License-Identifier: ASL 2.0
|
||||
Provides: bundled(python3dist(distro)) = 1.6.0
|
||||
|
||||
# lib/ansible/module_utils/six/*
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Fedora-License-Identifier: MIT
|
||||
Provides: bundled(python3dist(six)) = 1.16.0
|
||||
|
||||
# lib/ansible/module_utils/compat/selectors.py
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# Fedora-License-Identifier: GPLv3+
|
||||
Provides: bundled(python3dist(selectors2)) = 1.1.1
|
||||
|
||||
# lib/ansible/module_utils/compat/ipaddress.py
|
||||
# SPDX-License-Identifier: PSF-2.0
|
||||
# Fedora-License-Identifier: Python
|
||||
Provides: bundled(python3dist(ipaddress)) = 1.0.22
|
||||
|
||||
#Provides: ansible = %%{version}-%%{release}
|
||||
#Obsoletes: ansible <= 2.9.99
|
||||
@ -96,6 +124,9 @@ BuildRequires: python3-cryptography
|
||||
# Needed to build manpages from source.
|
||||
BuildRequires: python3-straight-plugin
|
||||
BuildRequires: python3-docutils
|
||||
# Require packaging macros if rpm-build exists
|
||||
# This makes the transition seamless for other packages
|
||||
Requires: (ansible-packaging if rpm-build)
|
||||
|
||||
# RHEL8 doesn't have python3-paramiko or python3-winrm (yet), but Fedora does
|
||||
Recommends: python3-paramiko
|
||||
@ -210,7 +241,7 @@ make PYTHON=%{__python3} tests-py3
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%license COPYING licenses/{Apache-License.MIT-license,PSF-license,simplified_bsd}.txt
|
||||
%doc README.rst PKG-INFO changelogs/CHANGELOG-v2.13.rst
|
||||
%dir %{_sysconfdir}/ansible/
|
||||
%config(noreplace) %{_sysconfdir}/ansible/*
|
||||
|
Loading…
Reference in New Issue
Block a user