diff --git a/python-python-crfsuite.spec b/python-python-crfsuite.spec index 80856f7..9632b87 100644 --- a/python-python-crfsuite.spec +++ b/python-python-crfsuite.spec @@ -48,9 +48,9 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -py.test-%{$python_bin_suffix} tests/ -} +mv pycrfsuite bak +%pytest_arch +mv bak pycrfsuite %files %{python_files} %license LICENSE.txt