From a8e17b00409720bd678a2640cc07be54be84fac4 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 16 Jul 2016 19:49:42 +0000 Subject: [PATCH] #1217: skip tests on centos6 because of upstream bug git-svn-id: https://xpra.org/svn/Xpra/trunk@13029 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- rpmbuild/python-rencode.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpmbuild/python-rencode.spec b/rpmbuild/python-rencode.spec index 79976d5b27..6bf8cd9a95 100644 --- a/rpmbuild/python-rencode.spec +++ b/rpmbuild/python-rencode.spec @@ -84,8 +84,13 @@ chmod 0755 %{buildroot}%{python3_sitearch}/rencode/_rencode.cpython-*.so %check pushd tests ln -sf %{buildroot}%{python2_sitearch}/rencode rencode +%if 0%{el5}%{el6} +#skip tests on centos 6.x because of compatibility issue: +#https://github.com/aresch/rencode/issues/10 +%else %{__python2} test_rencode.py %{__python2} timetest.py +%endif popd %if 0%{?with_python3}