mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Change some file listings to try and figure out which rpm macro is undefined
One of the file path macros that we use in the rpm file list isn't being defined on Fedora 29 in Jenkins which is causing it to fail to build there. Change the potential problems so that we can tell which file entry is causing the failures on its next rebuild
This commit is contained in:
parent
8fd3591275
commit
0f130adf63
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ License: GPLv3+
|
|||
Group: Development/Libraries
|
||||
Source: https://releases.ansible.com/ansible/%{name}-%{upstream_version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
%{!?__python2: %global __python2 /usr/bin/python2.6}
|
||||
%{!?__python2: %global __python2 /usr/bin/python2.7}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
|
||||
BuildArch: noarch
|
||||
|
@ -124,7 +124,8 @@ rm -rf %{buildroot}
|
|||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/ansible*
|
||||
%{python_sitelib}/ansible/
|
||||
%{python_sitelib}/ansible-*.egg-info
|
||||
%{_bindir}/ansible*
|
||||
%dir %{_datadir}/ansible
|
||||
%config(noreplace) %{_sysconfdir}/ansible
|
||||
|
|
Loading…
Reference in a new issue