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:
Matej Cepl 2023-07-19 14:36:35 +00:00 committed by Git OBS Bridge
parent 73e2813d49
commit 525ac7f255
2 changed files with 9 additions and 0 deletions

View File

@ -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>

View File

@ -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}