!10 Update package oslo.context of version 2.22.0

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-05 03:10:30 +00:00 committed by Gitee
commit 950dec8a8e
3 changed files with 10 additions and 18 deletions

BIN
oslo.context-2.22.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: python-oslo-context
Version: 3.2.0
Version: 2.22.0
Release: 1
Summary: Oslo Context library
License: Apache-2.0
URL: https://docs.openstack.org/oslo.context/latest/
Source0: https://files.pythonhosted.org/packages/22/4e/336321171977ea62711f5d896e0d597346ca4f290e0caa2de1b10f748838/oslo.context-3.2.0.tar.gz
Source0: https://files.pythonhosted.org/packages/4a/ef/068594a4ec32d028aff2385a145008a0d800e32010df0696c0f0e2e3d304/oslo.context-2.22.0.tar.gz
BuildArch: noarch
%description
Oslo Context Library The Oslo context library has helpers to maintain useful
Oslo Context Library The Oslo context library has helpers to maintain useful
information about a request context. The request context is usually populated in
the WSGI pipeline and used by various modules such as logging.
@ -23,14 +23,11 @@ BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-debtcollector
# Test requires
BuildRequires: python3-pre-commit
BuildRequires: python3-virtualenv
# General requires
Requires: python3-debtcollector
Requires: python3-pbr
Requires: python3-debtcollector
%description -n python3-oslo-context
Oslo Context Library The Oslo context library has helpers to maintain useful
Oslo Context Library The Oslo context library has helpers to maintain useful
information about a request context. The request context is usually populated in
the WSGI pipeline and used by various modules such as logging.
@ -38,19 +35,19 @@ the WSGI pipeline and used by various modules such as logging.
Summary: Oslo Context library
Provides: python3-oslo-context-doc
%description help
Oslo Context Library The Oslo context library has helpers to maintain useful
Oslo Context Library The Oslo context library has helpers to maintain useful
information about a request context. The request context is usually populated in
the WSGI pipeline and used by various modules such as logging.
%prep
%autosetup -n oslo.context-3.2.0
%autosetup -n oslo.context-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -81,14 +78,9 @@ mv %{buildroot}/doclist.lst .
%files -n python3-oslo-context -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Jul 12 2021 OpenStack_SIG <openstack@openeuler.org> - 3.2.0-1
- Upgrade version
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
* Fri Nov 05 2021 OpenStack_SIG <openstack@openeuler.org> - 2.22.0-1
- Init package python3-oslo-context to version 2.22.0 for Train