diff --git a/osprofiler-1.15.2.tar.gz b/osprofiler-1.15.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6dbc84cd747ce55e01efe459819e3363bb4731fb Binary files /dev/null and b/osprofiler-1.15.2.tar.gz differ diff --git a/osprofiler-3.4.0.tar.gz b/osprofiler-3.4.0.tar.gz deleted file mode 100755 index 7c52cb8fab1407c72a240f8ac2ba022776106e35..0000000000000000000000000000000000000000 Binary files a/osprofiler-3.4.0.tar.gz and /dev/null differ diff --git a/python-osprofiler.spec b/python-osprofiler.spec old mode 100755 new mode 100644 index 305d321f2763fbdfaae02483910035c8a3a58248..9bc6014ecd66eb92562d316a64ebd62417439b74 --- a/python-osprofiler.spec +++ b/python-osprofiler.spec @@ -1,63 +1,147 @@ %global _empty_manifest_terminate_build 0 -%global common_desc OSProfiler is an OpenStack cross-project profiling library. Name: python-osprofiler -Version: 3.4.0 +Version: 1.15.2 Release: 2 Summary: OpenStack Profiler Library License: Apache-2.0 URL: https://docs.openstack.org/osprofiler/latest/ -Source0: https://files.pythonhosted.org/packages/65/bf/522be8a13218cb633b9fd1a3e13292b6c676a9af22575415b9de77d78b83/osprofiler-3.4.0.tar.gz +Source0: https://files.pythonhosted.org/packages/ed/92/b474ed5cad4e7fb04ced06a03744d23fc24cee67ca027047fa9eb333ad72/osprofiler-1.15.2.tar.gz BuildArch: noarch +%description +======================== +Team and repository tags +======================== -Requires: python3-prettytable -Requires: python3-webob -Requires: python3-netaddr -Requires: python3-requests -Requires: python3-six -Requires: python3-importlib-metadata -Requires: python3-bandit -Requires: python3-coverage -Requires: python3-ddt -Requires: python3-elasticsearch -Requires: python3-flake8-import-order -Requires: python3-hacking -Requires: python3-jaeger-client -Requires: python3-openstackdocstheme -Requires: python3-pymongo -Requires: python3-redis -Requires: python3-reno -Requires: python3-sphinx -Requires: python3-stestr -Requires: python3-testtools +.. image:: https://governance.openstack.org/tc/badges/osprofiler.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html -%description -%{common_desc} +.. Change things from this point on + +=========================================================== + OSProfiler -- Library for cross-project profiling library +=========================================================== + +.. image:: https://img.shields.io/pypi/v/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Downloads + +OSProfiler provides a tiny but powerful library that is used by +most (soon to be all) OpenStack projects and their python clients. It +provides functionality to be able to generate 1 trace per request, that goes +through all involved services. This trace can then be extracted and used +to build a tree of calls which can be quite handy for a variety of +reasons (for example in isolating cross-project performance issues). + +* Free software: Apache license +* Documentation: https://docs.openstack.org/osprofiler/latest/ +* Source: https://git.openstack.org/cgit/openstack/osprofiler +* Bugs: https://bugs.launchpad.net/osprofiler -%package -n python3-osprofiler + + +%package -n python2-osprofiler Summary: OpenStack Profiler Library -Provides: python-osprofiler -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-osprofiler +Provides: python2-osprofiler +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-six +Requires: python2-oslo-utils +Requires: python2-webob +Requires: python2-requests +Requires: python2-netaddr +Requires: python2-oslo-concurrency +Requires: python2-oslo-config +%description -n python2-osprofiler +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/osprofiler.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +=========================================================== + OSProfiler -- Library for cross-project profiling library +=========================================================== + +.. image:: https://img.shields.io/pypi/v/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Downloads + +OSProfiler provides a tiny but powerful library that is used by +most (soon to be all) OpenStack projects and their python clients. It +provides functionality to be able to generate 1 trace per request, that goes +through all involved services. This trace can then be extracted and used +to build a tree of calls which can be quite handy for a variety of +reasons (for example in isolating cross-project performance issues). + +* Free software: Apache license +* Documentation: https://docs.openstack.org/osprofiler/latest/ +* Source: https://git.openstack.org/cgit/openstack/osprofiler +* Bugs: https://bugs.launchpad.net/osprofiler + + %package help Summary: Development documents and examples for osprofiler -Provides: python3-osprofiler-doc +Provides: python2-osprofiler-doc %description help -%{common_desc} +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/osprofiler.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +=========================================================== + OSProfiler -- Library for cross-project profiling library +=========================================================== + +.. image:: https://img.shields.io/pypi/v/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/osprofiler.svg + :target: https://pypi.python.org/pypi/osprofiler/ + :alt: Downloads + +OSProfiler provides a tiny but powerful library that is used by +most (soon to be all) OpenStack projects and their python clients. It +provides functionality to be able to generate 1 trace per request, that goes +through all involved services. This trace can then be extracted and used +to build a tree of calls which can be quite handy for a variety of +reasons (for example in isolating cross-project performance issues). + +* Free software: Apache license +* Documentation: https://docs.openstack.org/osprofiler/latest/ +* Source: https://git.openstack.org/cgit/openstack/osprofiler +* Bugs: https://bugs.launchpad.net/osprofiler + + + %prep -%autosetup -n osprofiler-3.4.0 +%autosetup -n osprofiler-1.15.2 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -84,14 +168,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-osprofiler -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-osprofiler -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Sat Jan 30 2021 zhangy -- Add buildrequires -* Thu Nov 19 2020 Python_Bot +* Sat May 29 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Fri May 07 2021 OpenStack_SIG - Package Spec generated