forked from pool/python-opencensus-context
- Remove common files conflicting with python-opencensus package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus-context?expand=0&rev=3
This commit is contained in:
@@ -47,6 +47,10 @@ touch tests/__init__.py
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/common/__init__.*
|
||||
}
|
||||
|
||||
%check
|
||||
%python_exec -m unittest discover -v
|
||||
|
||||
Reference in New Issue
Block a user