Blame SPECS/ansible-collection-ansible-netcommon.spec

rdobuilder 5e8aac
%global _docdir_fmt %{name}
rdobuilder 5e8aac
rdobuilder 5e8aac
Name:           ansible-collection-ansible-netcommon
rdobuilder 5e8aac
Version:        4.1.0
rdobuilder 5e8aac
Release:        2%{?dist}
rdobuilder 5e8aac
Summary:        Ansible Network Collection for Common Code
rdobuilder 5e8aac
rdobuilder 5e8aac
# All files are licensed under GPL-3.0-or-later except:
rdobuilder 5e8aac
# rg --pcre2 -g '!tests/sanity/extra/licenses.py' 'SPDX-License-Identifier: (?!GPL-3\.0-or-later)' | sort | sed 's|^|# |'
rdobuilder 5e8aac
#
rdobuilder 5e8aac
# plugins/module_utils/cli_parser/cli_parserbase.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/cli_parser/cli_parsertemplate.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/config.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/netconf.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/network.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/network_template.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/parsing.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/resource_module.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/rm_base/network_template.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/rm_base/resource_module_base.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/rm_base/resource_module.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/common/utils.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
# plugins/module_utils/network/restconf/restconf.py:# SPDX-License-Identifier: BSD-2-Clause
rdobuilder 5e8aac
License:        GPL-3.0-or-later AND BSD-2-Clause
rdobuilder 5e8aac
URL:            https://galaxy.ansible.com/ansible/netcommon
rdobuilder 5e8aac
Source:         https://github.com/ansible-collections/ansible.netcommon/archive/%{version}/%{name}-%{version}.tar.gz
rdobuilder 5e8aac
# Patch galaxy.yml to exclude unnecessary files from the built collection.
rdobuilder 5e8aac
# This is a downstream only patch.
rdobuilder 5e8aac
Patch:          0001-build_ignore-unnecessary-files.patch
rdobuilder 5e8aac
rdobuilder 5e8aac
BuildRequires:  ansible-packaging
rdobuilder 5e8aac
rdobuilder 5e8aac
BuildArch:      noarch
rdobuilder 5e8aac
rdobuilder 5e8aac
%global _description %{expand:
rdobuilder 5e8aac
The Ansible ansible.netcommon collection includes common content to help
rdobuilder 5e8aac
automate the management of network, security, and cloud devices. This includes
rdobuilder 5e8aac
connection plugins, such as network_cli, httpapi, and netconf.}
rdobuilder 5e8aac
rdobuilder 5e8aac
%description %_description
rdobuilder 5e8aac
rdobuilder 5e8aac
%package        doc
rdobuilder 5e8aac
Summary:        %{summary} - Docs
rdobuilder 5e8aac
rdobuilder 5e8aac
%description    doc %_description
rdobuilder 5e8aac
rdobuilder 5e8aac
This subpackage provides documentation for ansible-collection-ansible-netcommon.
rdobuilder 5e8aac
rdobuilder 5e8aac
%prep
rdobuilder 5e8aac
%autosetup -n ansible.netcommon-%{version} -p1
rdobuilder 5e8aac
sed -i -e '/version:/s/null/%{version}/' galaxy.yml
rdobuilder 5e8aac
find -type f ! -executable -type f -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
rdobuilder 5e8aac
rdobuilder 5e8aac
%build
rdobuilder 5e8aac
%ansible_collection_build
rdobuilder 5e8aac
rdobuilder 5e8aac
%install
rdobuilder 5e8aac
%ansible_collection_install
rdobuilder 5e8aac
rdobuilder 5e8aac
%files -f %{ansible_collection_filelist}
rdobuilder 5e8aac
%license LICENSE LICENSES/
rdobuilder 5e8aac
%doc README.md CHANGELOG.rst
rdobuilder 5e8aac
rdobuilder 5e8aac
%files doc
rdobuilder 5e8aac
%license LICENSE
rdobuilder 5e8aac
%doc docs
rdobuilder 5e8aac
rdobuilder 5e8aac
%changelog
rdobuilder 5e8aac
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
rdobuilder 5e8aac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder 5e8aac
rdobuilder 5e8aac
* Fri Nov 04 2022 Maxwell G <gotmax@e.email> - 4.1.0-1
rdobuilder 5e8aac
- Update to 4.1.0. Fixes rhbz#2139971.
rdobuilder 5e8aac
rdobuilder 5e8aac
* Wed Oct 19 2022 Maxwell G <gotmax@e.email> - 4.0.0-1
rdobuilder 5e8aac
- Update to 4.0.0. Fixes rhbz#2124745.
rdobuilder 5e8aac
rdobuilder 5e8aac
* Sat Aug 27 2022 Maxwell G <gotmax@e.email> - 3.1.0-1
rdobuilder 5e8aac
- Update to 3.1.0. Fixes rhbz#2089526.
rdobuilder 5e8aac
rdobuilder 5e8aac
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
rdobuilder 5e8aac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 5e8aac
rdobuilder 5e8aac
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
rdobuilder 5e8aac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 5e8aac
rdobuilder 5e8aac
* Wed Oct 13 2021 Sagi Shnaidman <sshnaidm@redhat.com> - 2.2.0-2
rdobuilder 5e8aac
- Use ansible or ansible-core as BuildRequires
rdobuilder 5e8aac
rdobuilder 5e8aac
* Thu Jul 22 2021 Sagi Shnaidman <sshnaidm@redhat.com> - 2.2.0-1
rdobuilder 5e8aac
- Update to 2.2.0
rdobuilder 5e8aac
rdobuilder 5e8aac
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
rdobuilder 5e8aac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 5e8aac
rdobuilder 5e8aac
* Thu Feb 04 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.5.0-1
rdobuilder 5e8aac
- Update to 1.5.0
rdobuilder 5e8aac
rdobuilder 5e8aac
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
rdobuilder 5e8aac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 5e8aac
rdobuilder 5e8aac
* Sat Jan 16 2021 Kevin Fenzi <kevin@scrye.com> - 1.4.1-2
rdobuilder 5e8aac
- Rebuild for new ansible-generator and allow to be used with ansible-base-2.10.x
rdobuilder 5e8aac
rdobuilder 5e8aac
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.4.1-1
rdobuilder 5e8aac
- Update to 1.4.1
rdobuilder 5e8aac
rdobuilder 5e8aac
* Sat Aug 08 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.2-1
rdobuilder 5e8aac
- Initial package