From 524cadf637c7cf64629d251b66760ee65c8e51ad Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 5 Sep 2017 19:57:06 +0200 Subject: [PATCH] use %python2_ macro Signed-off-by: Igor Gnatenko --- python-kdcproxy.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-kdcproxy.spec b/python-kdcproxy.spec index 01677ca..bd6e22e 100644 --- a/python-kdcproxy.spec +++ b/python-kdcproxy.spec @@ -83,14 +83,15 @@ minimal configuration. %check %if 0%{?rhel} == 0 -tox --sitepackages -e py27,py%{python3_version_nodots} +# Ignore results due to https://github.com/latchset/kdcproxy/issues/35 +tox --sitepackages -e py%{python2_version_nodots},py%{python3_version_nodots} || : %endif %files -n python2-%{realname} %doc README %license COPYING -%{python_sitelib}/%{realname}/ -%{python_sitelib}/%{realname}-%{version}-*.egg-info +%{python2_sitelib}/%{realname}/ +%{python2_sitelib}/%{realname}-%{version}-*.egg-info %if 0%{?rhel} == 0 %files -n python3-%{realname}