From bbc3044d82507f2c9ef58d3ec62c24b63a6a0c29 Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Mon, 19 Jan 2015 14:41:53 +0100 Subject: [PATCH] Enable python3 tests --- python-wheel.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-wheel.spec b/python-wheel.spec index 3d73880..8241157 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -34,6 +34,9 @@ Requires: python-argparse %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-keyring +BuildRequires: python3-jsonschema %endif # if with_python3 @@ -102,7 +105,7 @@ popd rm setup.cfg PYTHONPATH=$(pwd) py.test --ignore build %{?rhel6:-k 'not test_keygen'} # no test for Python 3, no python3-jsonschema yet -%if 0 +%if %{with python3} pushd %{py3dir} rm setup.cfg PYTHONPATH=$(pwd) py.test-%{python3_version} --ignore build