From c1e40ecf8a484a3c0a0e26fc4608af690aa919ba5007afa5b497389995e54c4f Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 18 Feb 2020 14:23:15 +0000 Subject: [PATCH] - 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 --- python-opencensus-context.changes | 5 +++++ python-opencensus-context.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-opencensus-context.changes b/python-opencensus-context.changes index 7aeeaa8..c830185 100644 --- a/python-opencensus-context.changes +++ b/python-opencensus-context.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 14:22:46 UTC 2020 - John Paul Adrian Glaubitz + +- Remove common files conflicting with python-opencensus package + ------------------------------------------------------------------- Tue Feb 18 08:37:54 UTC 2020 - Tomáš Chvátal diff --git a/python-opencensus-context.spec b/python-opencensus-context.spec index 4e629fb..b3c020e 100644 --- a/python-opencensus-context.spec +++ b/python-opencensus-context.spec @@ -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