15
0

- Provide init in opencensus/ext folder to provide basis

structure for all the extensions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2020-03-10 12:56:26 +00:00
committed by Git OBS Bridge
parent f0df136a87
commit fb995247a9
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 10 12:56:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Provide init in opencensus/ext folder to provide basis
structure for all the extensions
-------------------------------------------------------------------
Tue Mar 10 11:25:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -71,6 +71,11 @@ sed -i -e 's:==:>=:g' setup.py
%install
%if !%{with test}
%python_install
# add ext infrastructure
%python_expand mkdir %{buildroot}%{$python_sitelib}/opencensus/ext/
%python_expand cp %{buildroot}%{$python_sitelib}/opencensus/__init__* %{buildroot}%{$python_sitelib}/opencensus/ext
%python_expand [ -e %{buildroot}%{$python_sitelib}/opencensus/__pycache* ] && cp -r %{buildroot}%{$python_sitelib}/opencensus/__pycache* %{buildroot}%{$python_sitelib}/opencensus/ext
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif