From f75677a5707b140491a2fcdfec6a20ef91a9ae69ebaa0c6c34ac710750657f17 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Jan 2019 17:43:44 +0000 Subject: [PATCH] Fix syntax of $python OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=56 --- python-pyparsing.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pyparsing.spec b/python-pyparsing.spec index b5ccf78..5f87200 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -91,8 +91,8 @@ cp -r pyparsing.egg-info %{buildroot}%{$python_sitelib}/pyparsing-%{version}-py% %if %{with test} %{python_expand export PYTHONPATH=.:example # unittest from Python 2.7 doesn't load tests correctly -%{$python} -munittest2 -v simple_unit_tests.py examples.test_bibparse examples.antlr_grammar_tests -%{$python} unitTests.py +$python -munittest2 -v simple_unit_tests.py examples.test_bibparse examples.antlr_grammar_tests +$python unitTests.py } %endif