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

a56b5f
%global collection_namespace ansible
a56b5f
%global collection_name posix
a56b5f
a56b5f
Name:           ansible-collection-%{collection_namespace}-%{collection_name}
a56b5f
Version:        1.2.0
a56b5f
Release:        1%{?dist}
a56b5f
Summary:        Ansible Collection targeting POSIX and POSIX-ish platforms
a56b5f
a56b5f
# plugins/module_utils/mount.py: Python Software Foundation License version 2
a56b5f
License:        GPLv3+ and Python
a56b5f
URL:            %{ansible_collection_url}
a56b5f
Source:         https://github.com/ansible-collections/ansible.posix/archive/%{version}/%{name}-%{version}.tar.gz
a56b5f
0d4d57
BuildRequires:  (ansible >= 2.9.10 or ansible-core >= 2.11.0)
0d4d57
BuildRequires:  ansible-macros
a56b5f
a56b5f
BuildArch:      noarch
a56b5f
a56b5f
%description
a56b5f
%{summary}.
a56b5f
a56b5f
%prep
a56b5f
%autosetup -n ansible.posix-%{version}
a56b5f
rm -vr tests/{integration,utils} .github changelogs/fragments/.keep {test-,}requirements.txt shippable.yml
a56b5f
rm -vr .azure-pipelines
a56b5f
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
a56b5f
find -type f -name '.gitignore' -print -delete
a56b5f
a56b5f
%build
a56b5f
%ansible_collection_build
a56b5f
a56b5f
%install
a56b5f
%ansible_collection_install
a56b5f
a56b5f
%files
a56b5f
%license COPYING
a56b5f
%doc README.md
a56b5f
%{ansible_collection_files}
a56b5f
a56b5f
%changelog
a56b5f
* Sat Apr 24 2021 Kevin Fenzi <kevin@scrye.com> - 1.2.0-1
a56b5f
- Update to 1.2.0.
a56b5f
a56b5f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
a56b5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a56b5f
a56b5f
* Sat Jan 16 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.1-2
a56b5f
- Rebuild against new ansible-generator and allow to be used by ansible-base-2.10.x
a56b5f
a56b5f
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.1-1
a56b5f
- Update to 1.1.1
a56b5f
a56b5f
* Sun Aug 09 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
a56b5f
- Initial package