%global collection_namespace netbox %global collection_name netbox Name: ansible-collection-%{collection_namespace}-%{collection_name} Version: 1.2.0 Release: 2%{?dist} Summary: Netbox modules for Ansible License: GPLv3+ URL: %{ansible_collection_url} Source: https://github.com/netbox-community/ansible_modules/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: ansible BuildArch: noarch %description %{summary}. %prep %autosetup -n ansible_modules-%{version} sed -i -e '1{\@^#!.*@d}' plugins/modules/*.py rm -vr .{github,gitignore,travis.yml,readthedocs.yml} tests/integration %build %ansible_collection_build %install %ansible_collection_install %files %license LICENSE %doc README.md CHANGELOG.rst %{ansible_collection_files} %changelog * Wed Dec 30 2020 Igor Raits - 1.2.0-2 - Drop runtime dependencies * Tue Dec 29 2020 Igor Raits - 1.2.0-1 - Update to 1.2.0 * Sun Aug 09 2020 Igor Raits - 0.3.1-1 - Update to 0.3.1 * Mon Jul 27 2020 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 04 2020 Igor Raits - 0.2.1-1 - Update to 0.2.1 * Sun Apr 19 2020 Igor Raits - 0.1.10-1 - Update to 0.1.10 * Wed Mar 04 2020 Igor Raits - 0.1.9-1 - Initial package