From 53959681c875fadb15f552fd71bc56b3b90f4f5c Mon Sep 17 00:00:00 2001 From: weiwei_tiantian Date: Wed, 16 Feb 2022 15:24:55 +0800 Subject: [PATCH] enable check --- python-six.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/python-six.spec b/python-six.spec index b874ceb..1c1cfea 100644 --- a/python-six.spec +++ b/python-six.spec @@ -1,11 +1,9 @@ -%bcond_with test - %global modname six %global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl Name: python-six Version: 1.16.0 -Release: 2 +Release: 3 Summary: It is a Python 2 and 3 compatibility library License: MIT URL: https://pypi.python.org/pypi/%{modname} @@ -20,9 +18,7 @@ Summary: Compatibility library for python 3 BuildRequires: python3-devel python3-setuptools BuildRequires: python3-tkinter BuildRequires: python3-pip python3-wheel -%if %{with test} BuildRequires: python3-pytest -%endif Provides: python%{python3_pkgversion}dist(six) = %{version} Provides: python%{python3_version}dist(six) = %{version} @@ -42,9 +38,7 @@ Compatibility library for python 3. %py3_install_wheel %{python_wheelname} %check -%if %{with test} PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py -%endif %files -n python3-%{modname} %license LICENSE @@ -55,6 +49,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py %{python3_sitelib}/__pycache__/%{modname}.* %changelog +* Wed Feb 16 2022 liudabo - 1.16.0-3 +- enable check + * Wed Dec 08 2021 shixuantong - 1.16.0-2 - provide pythonXdist(six) -- Gitee