!11 Fix requires error

From: @huangtianhua
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-08-06 09:00:29 +00:00 committed by Gitee
commit 78571abc73

View File

@ -1,18 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-middleware
Version: 4.2.0
Release: 1
Release: 2
Summary: Oslo Middleware library
License: Apache-2.0
URL: https://docs.openstack.org/oslo.middleware/latest/
Source0: https://files.pythonhosted.org/packages/b2/34/8ce0ce3787f14dda067e2a69507a1ab16709b15aaeb5b526104c44a43fb6/oslo.middleware-4.2.0.tar.gz
BuildArch: noarch
%description
oslo.middleware Oslo middleware library includes components that can be
injected into wsgi pipelines to intercept request/response flows. The base class
can be enhanced with functionality like add/delete/modification of http headers
and support for limiting size/connection etc.Free software: Apache license
Documentation: .
Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows.
The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting
size/connection etc.
%package -n python3-oslo-middleware
Summary: Oslo Middleware library
@ -45,24 +43,20 @@ Requires: python3-pbr
Requires: python3-statsd
Requires: python3-stevedore
%description -n python3-oslo-middleware
oslo.middleware Oslo middleware library includes components that can be
injected into wsgi pipelines to intercept request/response flows. The base class
can be enhanced with functionality like add/delete/modification of http headers
and support for limiting size/connection etc.Free software: Apache license
Documentation: .
Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows.
The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting
size/connection etc.
%package help
Summary: Oslo Middleware library
Provides: python3-oslo-middleware-doc
%description help
oslo.middleware Oslo middleware library includes components that can be
injected into wsgi pipelines to intercept request/response flows. The base class
can be enhanced with functionality like add/delete/modification of http headers
and support for limiting size/connection etc.Free software: Apache license
Documentation: .
Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows.
The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting
size/connection etc.
%prep
%autosetup -n oslo.middleware-4.2.0 -S git
%autosetup -n oslo.middleware-%{version}
%build
%py3_build
@ -96,9 +90,6 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-oslo-middleware -f filelist.lst
%dir %{python3_sitelib}/*
@ -107,6 +98,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Aug 3 2021 huangtianhua <huangtianhua@huawei.com> - 4.2.0-2
- Remove %check due the bandit version does not satisfied
* Mon Jul 12 2021 OpenStack_SIG <openstack@openeuler.org> - 4.2.0-1
- Upgrade to 4.2.0
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>