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