|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: ansible-packaging
|
|
|
|
Name: ansible-packaging
|
|
|
|
Version: 1
|
|
|
|
Version: 1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: RPM packaging macros and generators for Ansible collections
|
|
|
|
Summary: RPM packaging macros and generators for Ansible collections
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPLv3+
|
|
|
@ -8,12 +8,15 @@ License: GPLv3+
|
|
|
|
Source0: ansible-generator
|
|
|
|
Source0: ansible-generator
|
|
|
|
Source1: ansible.attr
|
|
|
|
Source1: ansible.attr
|
|
|
|
Source2: macros.ansible
|
|
|
|
Source2: macros.ansible
|
|
|
|
Source3: COPYING
|
|
|
|
Source3: macros.ansible-srpm
|
|
|
|
|
|
|
|
Source4: COPYING
|
|
|
|
|
|
|
|
|
|
|
|
# Require either ansible-core or a version of ansible 2.9 that supports collections but prefer ansible-core.
|
|
|
|
# Require either ansible-core or a version of ansible 2.9 that supports collections but prefer ansible-core.
|
|
|
|
Requires: (ansible-core or (ansible < 2.10.0 with ansible >= 2.9.10))
|
|
|
|
Requires: (ansible-core or (ansible < 2.10.0 with ansible >= 2.9.10))
|
|
|
|
Suggests: ansible-core
|
|
|
|
Suggests: ansible-core
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ansible-srpm-macros = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
# Conflict with anything providing its own copies of these files
|
|
|
|
# Conflict with anything providing its own copies of these files
|
|
|
|
%if ! (0%{?rhel} >= 8)
|
|
|
|
%if ! (0%{?rhel} >= 8)
|
|
|
|
Conflicts: ansible-core < 2.12.1-3
|
|
|
|
Conflicts: ansible-core < 2.12.1-3
|
|
|
@ -26,6 +29,13 @@ BuildArch: noarch
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ansible-srpm-macros
|
|
|
|
|
|
|
|
Summary: SRPM stage RPM packaging macros for Ansible collections
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n ansible-srpm-macros
|
|
|
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -T -c
|
|
|
|
%autosetup -T -c
|
|
|
|
cp -a %{sources} .
|
|
|
|
cp -a %{sources} .
|
|
|
@ -38,6 +48,7 @@ cp -a %{sources} .
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} ansible.attr
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} ansible.attr
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible
|
|
|
|
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible-srpm
|
|
|
|
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
|
|
|
|
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -48,7 +59,14 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
|
|
|
|
%{_rpmconfigdir}/ansible-generator
|
|
|
|
%{_rpmconfigdir}/ansible-generator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ansible-srpm-macros
|
|
|
|
|
|
|
|
%{_rpmmacrodir}/macros.ansible-srpm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue May 17 2022 Maxwell G <gotmax@e.email> - 1-5
|
|
|
|
|
|
|
|
- Split macros required for building SRPMs into a separate package.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 26 2022 Maxwell G <gotmax@e.email> - 1-4
|
|
|
|
* Tue Apr 26 2022 Maxwell G <gotmax@e.email> - 1-4
|
|
|
|
- Restore compatability with f34 and f35.
|
|
|
|
- Restore compatability with f34 and f35.
|
|
|
|
|
|
|
|
|
|
|
|