!13 provide pythonXdist(six)

From: @tong_1001
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
This commit is contained in:
openeuler-ci-bot 2021-12-08 11:53:45 +00:00 committed by Gitee
commit 75777f5b34

View File

@ -5,7 +5,7 @@
Name: python-six Name: python-six
Version: 1.16.0 Version: 1.16.0
Release: 1 Release: 2
Summary: It is a Python 2 and 3 compatibility library Summary: It is a Python 2 and 3 compatibility library
License: MIT License: MIT
URL: https://pypi.python.org/pypi/%{modname} URL: https://pypi.python.org/pypi/%{modname}
@ -23,6 +23,8 @@ BuildRequires: python3-pip python3-wheel
%if %{with test} %if %{with test}
BuildRequires: python3-pytest BuildRequires: python3-pytest
%endif %endif
Provides: python%{python3_pkgversion}dist(six) = %{version}
Provides: python%{python3_version}dist(six) = %{version}
%{?python_provide:%python_provide python3-%{modname}} %{?python_provide:%python_provide python3-%{modname}}
Obsoletes: platform-python-%{modname} < %{version}-%{release} Obsoletes: platform-python-%{modname} < %{version}-%{release}
@ -53,6 +55,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
%{python3_sitelib}/__pycache__/%{modname}.* %{python3_sitelib}/__pycache__/%{modname}.*
%changelog %changelog
* Wed Dec 08 2021 shixuantong <shixuantong@huawei.com> - 1.16.0-2
- provide pythonXdist(six)
* Thu Dec 02 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.16.0-1 * Thu Dec 02 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.16.0-1
- upgrade to 1.16.0 - upgrade to 1.16.0