!13 provide pythonXdist(six)
From: @tong_1001 Reviewed-by: @hanxinke Signed-off-by: @hanxinke
This commit is contained in:
commit
75777f5b34
@ -5,7 +5,7 @@
|
||||
|
||||
Name: python-six
|
||||
Version: 1.16.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: It is a Python 2 and 3 compatibility library
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{modname}
|
||||
@ -23,6 +23,8 @@ 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}
|
||||
|
||||
%{?python_provide:%python_provide python3-%{modname}}
|
||||
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}.*
|
||||
|
||||
%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
|
||||
- upgrade to 1.16.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user