Accepting request 580776 from home:aplanas:branches:devel:languages:python

- Use %__python3 macro to call Python 3 binary

OBS-URL: https://build.opensuse.org/request/show/580776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=44
This commit is contained in:
Dirk Mueller 2018-03-20 14:52:45 +00:00 committed by Git OBS Bridge
parent fafea12932
commit 6fcf888010
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 27 19:20:19 UTC 2018 - aplanas@suse.com
- Use %__python3 macro to call Python 3 binary
-------------------------------------------------------------------
Fri Feb 2 11:36:18 UTC 2018 - tchvatal@suse.com

View File

@ -77,7 +77,7 @@ Provides documentation for %{name}.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
PYTHONPATH="%{buildroot}%{python3_sitelib}" python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
PYTHONPATH="%{buildroot}%{python3_sitelib}" %__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%check
export LC_ALL=en_US.UTF-8