diff --git a/python-asteval.changes b/python-asteval.changes index c8bc60a..2d1f700 100644 --- a/python-asteval.changes +++ b/python-asteval.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 29 10:27:20 UTC 2018 - tchvatal@suse.com + +- Fix the test call to work on 42.3 + ------------------------------------------------------------------- Sat Jun 2 19:10:58 UTC 2018 - toddrme2178@gmail.com diff --git a/python-asteval.spec b/python-asteval.spec index 8432f7b..a6c3131 100644 --- a/python-asteval.spec +++ b/python-asteval.spec @@ -25,7 +25,6 @@ License: MIT Group: Development/Languages/Python Url: http://github.com/newville/asteval Source: https://files.pythonhosted.org/packages/source/a/asteval/asteval-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module numpy >= 1.6} @@ -64,9 +63,7 @@ sed -i -e '/^#!\//, 1d' asteval/asteval.py %check pushd tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -pytest-%{$python_bin_suffix} -} +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} popd %files %{python_files}