%global dlrn_nvr 2020.1.2-0.20200920175434.ce6a105 %global dlrn 1 %if 0%{?fedora} %global rdo 1 %endif %if 0%{?rhel} %global rdo 1 %global rrcdir %{_prefix}/lib/rpm/redhat %endif Name: ansible-macros Summary: Ansible collections RPM Macros Version: 2021.1.2 Release: 1%{?dist} License: GPLv3+ Group: Development/Libraries/Python URL: http://ansible.com Source1: ansible.attr Source2: ansible-generator Source3: macros.ansible BuildArch: noarch %description This package provides RPM macros for packaging Ansible collections. %prep %build %install install -Dpm0644 -t %{buildroot}%{_fileattrsdir} %{SOURCE1} install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} %{SOURCE2} install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE3} %files %{_fileattrsdir}/ansible.attr %{_rpmmacrodir}/macros.ansible %{_rpmconfigdir}/ansible-generator %changelog * Thu Feb 04 2021 Joel Capitao - Initial package