Preserve only python3 version.

Problem recorded as https://bugzilla.redhat.com/show_bug.cgi?id=1289269
This commit is contained in:
Matěj Cepl 2015-12-07 20:24:56 +01:00
commit 5b801e97bf

View file

@ -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