Accepting request 527316 from devel:languages:python
- skip creating a python3 symlink when only python2.x is being built OBS-URL: https://build.opensuse.org/request/show/527316 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=26
This commit is contained in:
parent
63c64a5255
commit
c83e0c9223
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 9 17:07:31 UTC 2017 - dmueller@suse.com
|
||||
|
||||
- skip creating a python3 symlink when only python2.x is being built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 09:29:28 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
@ -71,7 +71,9 @@ mv %{buildroot}%{_bindir}/pytest{,-%$python_bin_suffix}
|
||||
%prepare_alternative pytest
|
||||
|
||||
ln -s py.test-%python2_bin_suffix %{buildroot}%{_bindir}/py.test2
|
||||
%if "%python3_bin_suffix" != ""
|
||||
ln -s py.test-%python3_bin_suffix %{buildroot}%{_bindir}/py.test3
|
||||
%endif
|
||||
|
||||
%post
|
||||
%{python_install_alternative py.test} \
|
||||
|
Loading…
Reference in New Issue
Block a user