diff --git a/opencensus-0.7.7.tar.gz b/opencensus-0.7.7.tar.gz deleted file mode 100644 index 5d3aef0..0000000 --- a/opencensus-0.7.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7783dcf1ade1b062482817c0ce816b50f96c6cc9a36bf4f1df550e2f22ed0109 -size 291336 diff --git a/opencensus-0.8.0.tar.gz b/opencensus-0.8.0.tar.gz new file mode 100644 index 0000000..16407e3 --- /dev/null +++ b/opencensus-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5242f3e64e41f514a2afaac8fa6b6be3225f7145758c753368a2932bf5eaad83 +size 307635 diff --git a/python-opencensus-context.changes b/python-opencensus-context.changes index 70baa7e..67fb8a2 100644 --- a/python-opencensus-context.changes +++ b/python-opencensus-context.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Oct 23 11:00:17 UTC 2021 - Ben Greiner + +- Update to 0.1.2 + * Release source distribution +- i.e. they just bumped the version and cleaned up some code syntax + but the new version is specified as minimum by python-opencensus + 0.8 +- Require contextvars for Python 3.6 + ------------------------------------------------------------------- Thu Feb 20 10:54:04 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-opencensus-context.spec b/python-opencensus-context.spec index 1f3536d..6e1332d 100644 --- a/python-opencensus-context.spec +++ b/python-opencensus-context.spec @@ -1,7 +1,7 @@ # # spec file for package python-opencensus-context # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,10 @@ # -%define repo_version 0.7.7 +%define repo_version 0.8.0 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-opencensus-context -Version: 0.1.1 +Version: 0.1.2 Release: 0 Summary: Python in-process context propogation License: Apache-2.0 @@ -28,6 +28,10 @@ Source: https://github.com/census-instrumentation/opencensus-python/arch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: %{python_module contextvars if (%python-base >= 3.6 and %python-base < 3.7)} +%if 0%{python_version_nodots} == 36 +Requires: python-contextvars +%endif BuildArch: noarch %python_subpackages @@ -55,11 +59,14 @@ rm -rf %{buildroot}%{$python_sitelib}/opencensus/common/__pycache__ } %check -%python_exec -m unittest discover -v +%pyunittest -v %files %{python_files} %doc CHANGELOG.md README.rst %license ../../LICENSE -%{python_sitelib}/* +%dir %{python_sitelib}/opencensus +%dir %{python_sitelib}/opencensus/common/ +%{python_sitelib}/opencensus/common/runtime_context +%{python_sitelib}/opencensus_context-%{version}*-info %changelog