Accepting request 906171 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/906171 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ansible?expand=0&rev=81
This commit is contained in:
commit
c3e58e0394
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 12 04:59:25 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- If building with Python 3, change the shebang of the test scripts
|
||||||
|
shipped in ansible-test to be /usr/bin/python3.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 24 15:46:27 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
Thu Jun 24 15:46:27 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -300,6 +300,12 @@ find contrib/ -type f -exec chmod 644 {} +
|
|||||||
find ./ -type f -exec \
|
find ./ -type f -exec \
|
||||||
sed -i '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} \;
|
sed -i '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} \;
|
||||||
|
|
||||||
|
# Run test fragments under Python 3, if that is our configured Python.
|
||||||
|
%if %{with python3}
|
||||||
|
find test -name '*.py' -exec \
|
||||||
|
sed -i '1s|^\(#!%{_bindir}/python\)$|\13|' {} \;
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{python} setup.py build
|
%{python} setup.py build
|
||||||
%if 0%{?with_docs}
|
%if 0%{?with_docs}
|
||||||
|
Loading…
Reference in New Issue
Block a user