diff --git a/python-html2text.spec b/python-html2text.spec index e16f09b..bcb221c 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -76,7 +76,7 @@ rm -fv $RPM_BUILD_ROOT%{_bindir}/html2text mv $RPM_BUILD_ROOT%{_bindir}/html2text $RPM_BUILD_ROOT%{_bindir}/%{name} %check -%{__python} setup.py test || /bin/true +%{__python} setup.py test %if %{with python3} %{__python3} setup.py test || /bin/true %endif