forked from pool/python-opencensus
- 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:
committed by
Git OBS Bridge
parent
f0df136a87
commit
fb995247a9
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user