Accepting request 1099527 from home:ecsos:python
- Fix build error for Leap. OBS-URL: https://build.opensuse.org/request/show/1099527 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-console-scripts?expand=0&rev=22
This commit is contained in:
parent
73e2813d49
commit
525ac7f255
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 13:34:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Fix build error for Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 10:15:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -56,7 +56,11 @@ much as possible.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%if 0%{?suse_version} > 1500
|
||||
sed -i 's:env python:env python3:' tests/test_run_scripts.py
|
||||
%else
|
||||
sed -i 's:env python:env python%python_bin_suffix:' tests/test_run_scripts.py
|
||||
%endif
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user