From 5b801e97bf185a941604e5dafc5c9051a44c3416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 7 Dec 2015 20:24:56 +0100 Subject: [PATCH] Preserve only python3 version. Problem recorded as https://bugzilla.redhat.com/show_bug.cgi?id=1289269 --- python-html2text.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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