|
|
|
@ -122,14 +122,12 @@ pushd %{py3dir}
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
|
|
|
PYTHONPATH=$(pwd) nosetests
|
|
|
|
|
%else
|
|
|
|
|
# Some tests fails
|
|
|
|
|
%{__python} -m unittest discover -s bs4 || :
|
|
|
|
|
%{__python} -m unittest discover -s bs4
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
# Some tests fails
|
|
|
|
|
%{__python3} -m unittest discover -s bs4 || :
|
|
|
|
|
%{__python3} -m unittest discover -s bs4
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|