!2 Modify buildrequires to fix build

From: @ultra_planet
Reviewed-by: @jackie_wu123,@myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-01-25 10:55:10 +08:00 committed by Gitee
commit 88452c48f5

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-cheroot Name: python-cheroot
Version: 8.4.5 Version: 8.4.5
Release: 1 Release: 2
Summary: Highly-optimized, pure-python HTTP server Summary: Highly-optimized, pure-python HTTP server
License: BSD License: BSD
URL: https://cheroot.cherrypy.org URL: https://cheroot.cherrypy.org
@ -49,6 +49,7 @@ Summary: Highly-optimized, pure-python HTTP server
Provides: python-cheroot Provides: python-cheroot
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%description -n python3-cheroot %description -n python3-cheroot
The test suite currently relies on pytest. It's being run via Travis CI. The test suite currently relies on pytest. It's being run via Travis CI.
@ -60,6 +61,7 @@ Documentation for cheroot
%prep %prep
%autosetup -n cheroot-8.4.5 %autosetup -n cheroot-8.4.5
sed -i '/setuptools_scm_git_archive/d' setup.cfg
%build %build
%py3_build %py3_build
@ -99,5 +101,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Nov 13 2020 Python_Bot <Python_Bot@openeuler.org> * Thu Jan 21 2021 lingsheng <lingsheng@huawei.com> - 8.4.5-2
- Modify buildrequires to fix build
* Fri Nov 13 2020 Python_Bot <Python_Bot@openeuler.org> - 8.4.5-1
- Package init - Package init