forked from pool/python-opencensus
- Add patch use-correct-assertion-methods.patch:
* Use non-removed assertion methods. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus?expand=0&rev=17
This commit is contained in:
@@ -36,6 +36,8 @@ URL: https://github.com/census-instrumentation/opencensus-python
|
||||
Source: https://github.com/census-instrumentation/opencensus-python/archive/v%{repo_version}.tar.gz#/opencensus-python-%{repo_version}-gh.tar.gz
|
||||
# PATCH-FIX-UPSTREAM opencensus-pr1002-remove-mock.patch -- gh#census-instrumentation/opencensus-python#1002
|
||||
Patch0: opencensus-pr1002-remove-mock.patch
|
||||
# PATCH-FIX-UPSTREAM gh#census-instrumentation/opencensus-python#1243
|
||||
Patch1: use-correct-assertion-methods.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -47,9 +49,7 @@ Requires: python-opencensus-context >= 0.1.3
|
||||
Requires: python-six >= 1.16
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module google-api-core >= 1.0.0}
|
||||
BuildRequires: %{python_module opencensus >= %{repo_version}}
|
||||
BuildRequires: %{python_module opencensus-context >= 0.1.1}
|
||||
BuildRequires: %{python_module opencensus = %{version}}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module retrying}
|
||||
%endif
|
||||
@@ -93,7 +93,7 @@ donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or test_thr
|
||||
%doc CHANGELOG.md README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/opencensus
|
||||
%{python_sitelib}/opencensus-%{version}*-info
|
||||
%{python_sitelib}/opencensus-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user