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

rdobuilder 8988ee
# Disable tests
rdobuilder 8988ee
%bcond_with tests
rdobuilder 8988ee
rdobuilder 8988ee
Name:           ansible-collection-ansible-posix
rdobuilder 8988ee
Version:        1.5.1
rdobuilder 8988ee
Release:        1%{?dist}
rdobuilder 8988ee
Summary:        Ansible Collection targeting POSIX and POSIX-ish platforms
rdobuilder 8988ee
rdobuilder 8988ee
# plugins/module_utils/mount.py: Python Software Foundation License version 2
rdobuilder 8988ee
License:        GPL-3.0-or-later and PSF-2.0
rdobuilder 8988ee
URL:            https://galaxy.ansible.com/ansible/posix
rdobuilder 8988ee
Source:         https://github.com/ansible-collections/ansible.posix/archive/%{version}/%{name}-%{version}.tar.gz
rdobuilder 8988ee
# Exclude unneceesary development files and duplicate docs from the built
rdobuilder 8988ee
# collection. This is a downstream only patch. Upstreams include these files
rdobuilder 8988ee
# for reasons that are irrelevant to Fedora.
rdobuilder 8988ee
Patch0:         0001-Exclude-unnecessary-files-from-built-collection.patch
rdobuilder 8988ee
BuildRequires:  ansible-packaging
rdobuilder 8988ee
%if %{with tests}
rdobuilder 8988ee
BuildRequires:  ansible-packaging-tests
rdobuilder 8988ee
%endif
rdobuilder 8988ee
rdobuilder 8988ee
BuildArch:      noarch
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%description
rdobuilder 8988ee
%{summary}.
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%prep
rdobuilder 8988ee
%autosetup -n ansible.posix-%{version} -p1
rdobuilder 8988ee
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%build
rdobuilder 8988ee
%ansible_collection_build
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%install
rdobuilder 8988ee
%ansible_collection_install
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%check
rdobuilder 8988ee
%if %{with tests}
rdobuilder 8988ee
%ansible_test_unit
rdobuilder 8988ee
%endif
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%files -f %{ansible_collection_filelist}
rdobuilder 8988ee
%license COPYING PSF-license.txt
rdobuilder 8988ee
%doc README.md CHANGELOG.rst
rdobuilder 8988ee
rdobuilder 8988ee
rdobuilder 8988ee
%changelog
rdobuilder 8988ee
* Tue Jan 24 2023 Maxwell G <gotmax@e.email> - 1.5.1-1
rdobuilder 8988ee
- Update to 1.5.1. Fixes rhbz#2162988.
rdobuilder 8988ee
rdobuilder 8988ee
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
rdobuilder 8988ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder 8988ee
rdobuilder 8988ee
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
rdobuilder 8988ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 8988ee
rdobuilder 8988ee
* Tue May 24 2022 Maxwell G <gotmax@e.email> - 1.4.0-1
rdobuilder 8988ee
- Update to 1.4.0. Fixes rhbz#2089504.
rdobuilder 8988ee
rdobuilder 8988ee
* Tue May 10 2022 Maxwell G <gotmax@e.email> - 1.3.0-5
rdobuilder 8988ee
- Rebuild for new ansible-packaging.
rdobuilder 8988ee
rdobuilder 8988ee
* Tue Feb 22 2022 Maxwell G <gotmax@e.email> - 1.3.0-4
rdobuilder 8988ee
- Switch to ansible-packaging.
rdobuilder 8988ee
rdobuilder 8988ee
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
rdobuilder 8988ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 8988ee
rdobuilder 8988ee
Thu Oct 14 2021 Sagi Shnaidman <sshnaidm@redhat.com> - 1.3.0-2
rdobuilder 8988ee
- Use ansible or ansible-core as BuildRequires
rdobuilder 8988ee
rdobuilder 8988ee
* Mon Sep 06 2021 Kevin Fenzi <kevin@scrye.com> - 1.3.0-1
rdobuilder 8988ee
- Update to 1.3.0. Fixes rhbz#1992970
rdobuilder 8988ee
rdobuilder 8988ee
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
rdobuilder 8988ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 8988ee
rdobuilder 8988ee
* Sat Apr 24 2021 Kevin Fenzi <kevin@scrye.com> - 1.2.0-1
rdobuilder 8988ee
- Update to 1.2.0.
rdobuilder 8988ee
rdobuilder 8988ee
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
rdobuilder 8988ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 8988ee
rdobuilder 8988ee
* Sat Jan 16 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.1-2
rdobuilder 8988ee
- Rebuild against new ansible-generator and allow to be used by ansible-base-2.10.x
rdobuilder 8988ee
rdobuilder 8988ee
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.1-1
rdobuilder 8988ee
- Update to 1.1.1
rdobuilder 8988ee
rdobuilder 8988ee
* Sun Aug 09 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
rdobuilder 8988ee
- Initial package