Blame SPECS/ansible-packaging.spec
|
rdobuilder |
71c769 |
Name: ansible-packaging
|
|
rdobuilder |
71c769 |
Version: 1
|
|
rdobuilder |
71c769 |
Release: 1%{?dist}
|
|
rdobuilder |
71c769 |
Summary: RPM packaging macros and generators for Ansible collections
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
License: GPLv3+
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
Source0: ansible-generator
|
|
rdobuilder |
71c769 |
Source1: ansible.attr
|
|
rdobuilder |
71c769 |
Source2: macros.ansible
|
|
rdobuilder |
71c769 |
Source3: COPYING
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
Requires: (ansible >= 2.9.10 or ansible-core >= 2.11.0)
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
# Conflict with anything providing its own copies of these files
|
|
rdobuilder |
71c769 |
%if ! (0%{?rhel} >= 9)
|
|
rdobuilder |
71c769 |
Conflicts: ansible-core < 2.12.1-3
|
|
rdobuilder |
71c769 |
%endif
|
|
rdobuilder |
71c769 |
Conflicts: ansible-macros
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
BuildArch: noarch
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%description
|
|
rdobuilder |
71c769 |
%{summary}.
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%prep
|
|
rdobuilder |
71c769 |
%autosetup -T -c
|
|
rdobuilder |
71c769 |
cp -a %{sources} .
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%build
|
|
rdobuilder |
71c769 |
# Nothing to build
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%install
|
|
rdobuilder |
71c769 |
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} ansible.attr
|
|
rdobuilder |
71c769 |
install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible
|
|
rdobuilder |
71c769 |
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%files
|
|
rdobuilder |
71c769 |
%license COPYING
|
|
rdobuilder |
71c769 |
%{_fileattrsdir}/ansible.attr
|
|
rdobuilder |
71c769 |
%{_rpmmacrodir}/macros.ansible
|
|
rdobuilder |
71c769 |
%{_rpmconfigdir}/ansible-generator
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
|
|
rdobuilder |
71c769 |
%changelog
|
|
rdobuilder |
71c769 |
* Thu Jan 13 2022 Neal Gompa <ngompa@fedoraproject.org> - 1-1
|
|
rdobuilder |
71c769 |
- Initial packaging split out of ansible-core (#2038591)
|