fix build failed for python-setuptools-59.4
(cherry picked from commit b83a0b90feeb69fc90dca62630b3b39edbfefe7c)
This commit is contained in:
parent
47997e60d4
commit
51973c2a32
@ -1,6 +1,6 @@
|
||||
Name: python-parse_type
|
||||
Version: 0.4.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Make parse types building more easier by parse module
|
||||
License: BSD
|
||||
URL: http://pypi.python.org/pypi/parse_type
|
||||
@ -38,6 +38,7 @@ rm -rf python3/*.egg-info
|
||||
|
||||
%build
|
||||
cd python3
|
||||
sed -i -e '/use_2to3/s/\S.*/pass/' setup.py
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
@ -55,6 +56,9 @@ cd python3
|
||||
%{python3_sitelib}/{parse_type-%{version}-*.egg-info/,parse_type/}
|
||||
|
||||
%changelog
|
||||
* Thu Jan 06 2022 wangkai <wangkai385@huawei.com> - 0.4.2-4
|
||||
- fix build failed for python-setuptools-59.4
|
||||
|
||||
* Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.2-3
|
||||
- remove python2 support
|
||||
* Fri Dec 13 2019 yanzhihua <yanzhihua4@huawei.com> - 0.4.2-2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user