diff --git a/oslo.context-2.22.0.tar.gz b/oslo.context-2.22.0.tar.gz new file mode 100644 index 0000000..1f9bb7c Binary files /dev/null and b/oslo.context-2.22.0.tar.gz differ diff --git a/oslo.context-3.2.0.tar.gz b/oslo.context-3.2.0.tar.gz deleted file mode 100644 index 774aeeb..0000000 Binary files a/oslo.context-3.2.0.tar.gz and /dev/null differ diff --git a/python-oslo.context.spec b/python-oslo-context.spec similarity index 75% rename from python-oslo.context.spec rename to python-oslo-context.spec index c20156b..c034fa1 100644 --- a/python-oslo.context.spec +++ b/python-oslo-context.spec @@ -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 - 3.2.0-1 -- Upgrade version -* Fri Jan 29 2021 zhangy -- Add buildrequires -* Fri Jan 08 2021 Python_Bot -- Package Spec generated +* Fri Nov 05 2021 OpenStack_SIG - 2.22.0-1 +- Init package python3-oslo-context to version 2.22.0 for Train