From 1883c361d4e6ac0cfbb87ef9df21854b70c3beebb6d6afe53a6a2c4f6143ae9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 10:27:36 +0000 Subject: [PATCH] - Fix the test call to work on 42.3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=6 --- python-asteval.changes | 5 +++++ python-asteval.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) 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}