%global debug_package %{nil} %global collection_namespace theforeman %global collection_name operations %global collection_directory %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/%{collection_name} %global release 1 Name: ansible-collection-%{collection_namespace}-%{collection_name} Version: 3.0.0 Release: %{?prerelease:0.}%{release}%{?prerelease}%{?nightly}%{?dist} Summary: The Foreman Project Ansible operations collection License: GPLv3+ URL: https://theforeman.org/plugins/foreman-operations-collection Source0: https://galaxy.ansible.com/download/%{collection_namespace}-%{collection_name}-%{version}.tar.gz BuildArch: noarch Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{version} %if 0%{?rhel} == 7 Requires: ansible >= 2.9 %else Requires: (ansible >= 2.9 or ansible-core) %endif %description Collection of Ansible assets for managing Foreman operations such as install, upgrade or maintenance tasks. %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 Apr 08 2024 Evgeni Golov - 3.0.0-1 - Release ansible-collection-theforeman-operations 3.0.0 * Fri Sep 01 2023 Evgeni Golov - 2.1.0-1 - Release ansible-collection-theforeman-operations 2.1.0 * Thu Jan 05 2023 Evgeni Golov - 1.3.0-1 - Release ansible-collection-theforeman-operations 1.3.0 * Tue May 17 2022 Eric D. Helms - 1.2.0-1 - Release ansible-collection-theforeman-operations 1.2.0 * Tue Apr 26 2022 Eric D. Helms 1.1.0-1 - Update to 1.1.0 * Mon Mar 28 2022 Evgeni Golov - 1.0.2-1 - Release ansible-collection-theforeman-operations 1.0.2 * Thu Mar 24 2022 Evgeni Golov - 1.0.1-1 - Release ansible-collection-theforeman-operations 1.0.1 * Wed Feb 23 2022 Evgeni Golov - 0.3.0-2 - Require ansible or ansible-core on EL8+ * Tue Apr 20 2021 Eric Helms - 0.3.0-1 - Initial package