Blame ansible-collection-ansible-posix.spec

9c0a54b
%global collection_namespace ansible
9c0a54b
%global collection_name posix
9c0a54b
9c0a54b
Name:           ansible-collection-%{collection_namespace}-%{collection_name}
7155d96
Version:        1.1.1
9c0a54b
Release:        1%{?dist}
9c0a54b
Summary:        Ansible Collection targeting POSIX and POSIX-ish platforms
9c0a54b
9c0a54b
# plugins/module_utils/mount.py: Python Software Foundation License version 2
9c0a54b
License:        GPLv3+ and Python
9c0a54b
URL:            %{ansible_collection_url}
9c0a54b
Source:         https://github.com/ansible-collections/ansible.posix/archive/%{version}/%{name}-%{version}.tar.gz
9c0a54b
9c0a54b
BuildRequires:  ansible >= 2.9.10
9c0a54b
9c0a54b
BuildArch:      noarch
9c0a54b
9c0a54b
%description
9c0a54b
%{summary}.
9c0a54b
9c0a54b
%prep
9c0a54b
%autosetup -n ansible.posix-%{version}
7155d96
rm -vr tests/{integration,utils} .github changelogs/fragments/.keep {test-,}requirements.txt shippable.yml
9c0a54b
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
9c0a54b
find -type f -name '.gitignore' -print -delete
9c0a54b
9c0a54b
%build
9c0a54b
%ansible_collection_build
9c0a54b
9c0a54b
%install
9c0a54b
%ansible_collection_install
9c0a54b
9c0a54b
%files
9c0a54b
%license COPYING
9c0a54b
%doc README.md
9c0a54b
%{ansible_collection_files}
9c0a54b
9c0a54b
%changelog
7155d96
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.1-1
7155d96
- Update to 1.1.1
7155d96
9c0a54b
* Sun Aug 09 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
9c0a54b
- Initial package