From b1f42e19350a47c84c4ba3f3456dbefe6e79bdf5 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 13 Dec 2016 19:10:31 +0100 Subject: [PATCH] Enable tests --- python-click.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/python-click.spec b/python-click.spec index c639226..317afaf 100644 --- a/python-click.spec +++ b/python-click.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 6.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A simple wrapper around optparse for powerful command line utilities License: BSD @@ -19,7 +19,7 @@ BuildRequires: pytest %if %{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools -#BuildRequires: python3-pytest +BuildRequires: python3-pytest %endif # if with_python3 @@ -77,9 +77,9 @@ popd %check PYTHONPATH=$(pwd) py.test-%{python2_version} tests --tb=long --verbose %if 0%{?with_python3} -#pushd %{py3dir} -#LANG=en_GB.utf8 LC_ALL=en_GB.utf8 PYTHONPATH=$(pwd) py.test-%{python3_version} tests --tb=long --verbose -#popd +pushd %{py3dir} +LANG=en_GB.utf8 LC_ALL=en_GB.utf8 PYTHONPATH=$(pwd) py.test-%{python3_version} tests --tb=long --verbose +popd %endif %files @@ -95,6 +95,9 @@ PYTHONPATH=$(pwd) py.test-%{python2_version} tests --tb=long --verbose %changelog +* Tue Dec 13 2016 Charalampos Stratakis - 6.6-4 +- Enable tests + * Fri Dec 09 2016 Charalampos Stratakis - 6.6-3 - Rebuild for Python 3.6 - Disable python3 tests for now