From 822f4fb5939324843589d8f71ccd229a485bf70e Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 23 2021 11:41:13 +0000 Subject: Import ansible-collection-ansible-netcommon-2.2.0-1.el9 as RDO dependency --- diff --git a/.ansible-collection-ansible-netcommon.metadata b/.ansible-collection-ansible-netcommon.metadata new file mode 100644 index 0000000..0715816 --- /dev/null +++ b/.ansible-collection-ansible-netcommon.metadata @@ -0,0 +1 @@ +8e5d2646b2e80c721ef0f736161e62e6046af0e3 SOURCES/ansible-collection-ansible-netcommon-2.2.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..2af4c9f --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# ansible-collection-ansible-netcommon + +The ansible-collection-ansible-netcommon package diff --git a/SPECS/ansible-collection-ansible-netcommon.spec b/SPECS/ansible-collection-ansible-netcommon.spec new file mode 100644 index 0000000..3789c38 --- /dev/null +++ b/SPECS/ansible-collection-ansible-netcommon.spec @@ -0,0 +1,65 @@ +%global collection_namespace ansible +%global collection_name netcommon + +Name: ansible-collection-%{collection_namespace}-%{collection_name} +Version: 2.2.0 +Release: 1%{?dist} +Summary: Ansible Network Collection for Common Code + +# plugins/module_utils/compat/ipaddress.py: Python Software Foundation License version 2 +# plugins/module_utils/network/common/config.py: BSD 2-clause "Simplified" License +# plugins/module_utils/network/common/netconf.py: BSD 2-clause "Simplified" License +# plugins/module_utils/network/common/network.py: BSD 2-clause "Simplified" License +# plugins/module_utils/network/common/parsing.py: BSD 2-clause "Simplified" License +# plugins/module_utils/network/common/utils.py: BSD 2-clause "Simplified" License +# plugins/module_utils/network/restconf/restconf.py: BSD 2-clause "Simplified" License +License: GPLv3+ and BSD and Python +URL: %{ansible_collection_url} +Source: https://github.com/ansible-collections/ansible.netcommon/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: ansible >= 2.9.10 + +BuildArch: noarch + +%description +%{summary}. + +%prep +%autosetup -n ansible.netcommon-%{version} +sed -i -e '/version:/s/null/%{version}/' galaxy.yml +find -type f ! -executable -type f -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + +rm -vr tests/integration bindep.txt .yamllint changelogs/fragments/.keep +find -type f -name '.gitignore' -print -delete + +%build +%ansible_collection_build + +%install +%ansible_collection_install + +%files +%license LICENSE +%doc README.md +%{ansible_collection_files} + +%changelog +* Thu Jul 22 2021 Sagi Shnaidman - 2.2.0-1 +- Update to 2.2.0 + +* Wed Jul 21 2021 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Feb 04 2021 Igor Raits - 1.5.0-1 +- Update to 1.5.0 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Jan 16 2021 Kevin Fenzi - 1.4.1-2 +- Rebuild for new ansible-generator and allow to be used with ansible-base-2.10.x + +* Tue Dec 29 2020 Igor Raits - 1.4.1-1 +- Update to 1.4.1 + +* Sat Aug 08 2020 Igor Raits - 1.1.2-1 +- Initial package