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

822f4f
%global collection_namespace ansible
822f4f
%global collection_name netcommon
822f4f
822f4f
Name:           ansible-collection-%{collection_namespace}-%{collection_name}
822f4f
Version:        2.2.0
822f4f
Release:        1%{?dist}
822f4f
Summary:        Ansible Network Collection for Common Code
822f4f
822f4f
# plugins/module_utils/compat/ipaddress.py: Python Software Foundation License version 2
822f4f
# plugins/module_utils/network/common/config.py: BSD 2-clause "Simplified" License
822f4f
# plugins/module_utils/network/common/netconf.py: BSD 2-clause "Simplified" License
822f4f
# plugins/module_utils/network/common/network.py: BSD 2-clause "Simplified" License
822f4f
# plugins/module_utils/network/common/parsing.py: BSD 2-clause "Simplified" License
822f4f
# plugins/module_utils/network/common/utils.py: BSD 2-clause "Simplified" License
822f4f
# plugins/module_utils/network/restconf/restconf.py: BSD 2-clause "Simplified" License
822f4f
License:        GPLv3+ and BSD and Python
822f4f
URL:            %{ansible_collection_url}
822f4f
Source:         https://github.com/ansible-collections/ansible.netcommon/archive/%{version}/%{name}-%{version}.tar.gz
822f4f
822f4f
BuildRequires:  ansible >= 2.9.10
822f4f
822f4f
BuildArch:      noarch
822f4f
822f4f
%description
822f4f
%{summary}.
822f4f
822f4f
%prep
822f4f
%autosetup -n ansible.netcommon-%{version}
822f4f
sed -i -e '/version:/s/null/%{version}/' galaxy.yml
822f4f
find -type f ! -executable -type f -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
822f4f
rm -vr tests/integration bindep.txt .yamllint changelogs/fragments/.keep
822f4f
find -type f -name '.gitignore' -print -delete
822f4f
822f4f
%build
822f4f
%ansible_collection_build
822f4f
822f4f
%install
822f4f
%ansible_collection_install
822f4f
822f4f
%files
822f4f
%license LICENSE
822f4f
%doc README.md
822f4f
%{ansible_collection_files}
822f4f
822f4f
%changelog
822f4f
* Thu Jul 22 2021 Sagi Shnaidman <sshnaidm@redhat.com> - 2.2.0-1
822f4f
- Update to 2.2.0
822f4f
822f4f
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
822f4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
822f4f
822f4f
* Thu Feb 04 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.5.0-1
822f4f
- Update to 1.5.0
822f4f
822f4f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
822f4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
822f4f
822f4f
* Sat Jan 16 2021 Kevin Fenzi <kevin@scrye.com> - 1.4.1-2
822f4f
- Rebuild for new ansible-generator and allow to be used with ansible-base-2.10.x
822f4f
822f4f
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.4.1-1
822f4f
- Update to 1.4.1
822f4f
822f4f
* Sat Aug 08 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.2-1
822f4f
- Initial package