15
0

- 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:
2020-02-18 14:23:15 +00:00
committed by Git OBS Bridge
parent b1c02b4152
commit c1e40ecf8a
2 changed files with 9 additions and 0 deletions

View File

@@ -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