From b89d7094cb1017b55d7bbcb41f53bed7e27902ea Mon Sep 17 00:00:00 2001 From: wangjiang Date: Fri, 1 Apr 2022 15:21:16 +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 af738ab..e2cd649 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 +* Fri Apr 1 2022 wangjiang - 1.16.0-3 +- enable check + * Web Mar 30 2022 wangjiang - 1.16.0-2 - Type: bugfix - ID: NA -- Gitee