|
%global debug_package %{nil}
|
|
|
|
%global collection_namespace theforeman
|
|
%global collection_name foreman
|
|
%global collection_directory %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
%global ansible_python python3
|
|
%global pyyaml %{ansible_python}-pyyaml
|
|
%else
|
|
%global ansible_python python2
|
|
%global pyyaml PyYAML
|
|
%endif
|
|
|
|
%global release 1
|
|
|
|
Name: ansible-collection-%{collection_namespace}-%{collection_name}
|
|
Version: 3.1.0
|
|
Release: %{?prerelease:0.}%{release}%{?prerelease}%{?nightly}%{?dist}
|
|
Summary: The Foreman Project Ansible modules collection
|
|
|
|
License: GPLv3+
|
|
URL: https://theforeman.org/plugins/foreman-ansible-modules
|
|
Source0: https://galaxy.ansible.com/download/%{collection_namespace}-%{collection_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{version}
|
|
Provides: bundled(%{ansible_python}-apypie) = 0.3.2
|
|
Requires: ansible >= 2.9
|
|
Requires: %{ansible_python}-requests >= 2.4.2
|
|
Requires: %{pyyaml}
|
|
%if 0%{?rhel} == 7
|
|
Requires: python-ipaddress
|
|
%endif
|
|
|
|
%description
|
|
Collection of Ansible Modules to manage Foreman installations.
|
|
Includes modules for Katello.
|
|
|
|
%prep
|
|
%setup -q -c
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{collection_directory}
|
|
cp -a ./* %{buildroot}%{collection_directory}
|
|
|
|
|
|
|
|
%files
|
|
%{collection_directory}/
|
|
%license %{collection_directory}/LICENSE
|
|
%doc %{collection_directory}/README.md
|
|
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 17 2022 Evgeni Golov - 3.1.0-1
|
|
- Release ansible-collection-theforeman-foreman 3.1.0
|
|
|
|
* Fri Nov 12 2021 Evgeni Golov - 3.0.0-1
|
|
- Release ansible-collection-theforeman-foreman 3.0.0
|
|
|
|
* Wed Aug 25 2021 Evgeni Golov - 2.2.0-1
|
|
- Release ansible-collection-theforeman-foreman 2.2.0
|
|
|
|
* Tue Jul 13 2021 Evgeni Golov - 2.1.2-1
|
|
- Release ansible-collection-theforeman-foreman 2.1.2
|
|
|
|
* Wed Jun 23 2021 Evgeni Golov - 2.1.1-1
|
|
- Release ansible-collection-theforeman-foreman 2.1.1
|
|
|
|
* Thu May 20 2021 Evgeni Golov - 2.1.0-1
|
|
- Release ansible-collection-theforeman-foreman 2.1.0
|
|
|
|
* Wed Mar 03 2021 Evgeni Golov - 2.0.1-1
|
|
- Release ansible-collection-theforeman-foreman 2.0.1
|
|
|
|
* Mon Feb 22 2021 Evgeni Golov - 2.0.0-1
|
|
- Release ansible-collection-theforeman-foreman 2.0.0
|
|
|
|
* Mon Dec 14 2020 Evgeni Golov - 1.5.1-1
|
|
- Release ansible-collection-theforeman-foreman 1.5.1
|
|
|
|
* Thu Dec 03 2020 Evgeni Golov - 1.5.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.5.0
|
|
|
|
* Thu Oct 22 2020 Evgeni Golov - 1.4.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.4.0
|
|
|
|
* Tue Sep 22 2020 Evgeni Golov - 1.3.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.3.0
|
|
|
|
* Fri Sep 04 2020 Evgeni Golov - 1.2.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.2.0
|
|
|
|
* Mon Aug 17 2020 Evgeni Golov - 1.1.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.1.0
|
|
- Add a provides for ansible-collection(theforeman.foreman)
|
|
|
|
* Tue Jun 30 2020 Evgeni Golov - 1.0.1-1
|
|
- Release ansible-collection-theforeman-foreman 1.0.1
|
|
|
|
* Fri Jun 19 2020 Evgeni Golov - 1.0.0-1
|
|
- Release ansible-collection-theforeman-foreman 1.0.0
|
|
|
|
* Fri Jun 05 2020 Evgeni Golov - 0.8.1-1
|
|
- Release ansible-collection-theforeman-foreman 0.8.1
|
|
|
|
* Tue Apr 21 2020 Evgeni Golov - 0.8.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.8.0
|
|
|
|
* Wed Mar 18 2020 Evgeni Golov - 0.7.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.7.0
|
|
|
|
* Tue Mar 10 2020 Evgeni Golov - 0.6.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.6.0
|
|
|
|
* Thu Jan 23 2020 Evgeni Golov - 0.4.1-1
|
|
- Release ansible-collection-theforeman-foreman 0.4.1
|
|
|
|
* Mon Jan 13 2020 Evgeni Golov - 0.4.0-2
|
|
- Rebuild for EL8 client repository
|
|
|
|
* Thu Jan 09 2020 Evgeni Golov - 0.4.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.4.0
|
|
|
|
* Fri Dec 06 2019 Evgeni Golov - 0.3.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.3.0
|
|
|
|
* Wed Oct 30 2019 Evgeni Golov - 0.2.0-1
|
|
- Release ansible-collection-theforeman-foreman 0.2.0
|
|
|
|
* Wed Sep 18 2019 Evgeni Golov - 0.1.0-1
|
|
- Initial package
|