diff --git a/python-xmlsec.spec b/python-xmlsec.spec index 3292c49..810b369 100644 --- a/python-xmlsec.spec +++ b/python-xmlsec.spec @@ -70,9 +70,9 @@ export CFLAGS="%{optflags}" %check # %%pytest_arch tests/ %ifarch %ix86 -skip_tests = "not test_reinitialize_module" +export skip_tests="not test_reinitialize_module" %else -skip_tests = "" +export skip_tests="" %endif %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1 rm -rf .hypothesis/ .pytest_cache/