From 2a40310ccac45a7a9aaf38df4bfcce4baf8eac404188d014f42e98d12ef77566 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 17 Jan 2022 06:45:11 +0000 Subject: [PATCH] Accepting request 946841 from home:bnavigator:branches:devel:languages:python - Remove obsolete but unresolvable python36 requirement OBS-URL: https://build.opensuse.org/request/show/946841 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=14 --- python-opentelemetry-api.changes | 5 +++++ python-opentelemetry-api.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-opentelemetry-api.changes b/python-opentelemetry-api.changes index e432bc9..367ea7e 100644 --- a/python-opentelemetry-api.changes +++ b/python-opentelemetry-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 16 20:23:52 UTC 2022 - Ben Greiner + +- Remove obsolete but unresolvable python36 requirement + ------------------------------------------------------------------- Thu Nov 4 10:15:19 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-opentelemetry-api.spec b/python-opentelemetry-api.spec index 6608109..f73e145 100644 --- a/python-opentelemetry-api.spec +++ b/python-opentelemetry-api.spec @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-opentelemetry-api Version: 1.5.0 @@ -28,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-a BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: ((python3-aiocontextvars and python3-base < 3.7) or (python36-aiocontextvars and python36-base)) +# Note: If python3-aiocontextvars is not available, the error message will +# be confusing: https://github.com/openSUSE/obs-build/issues/685 +BuildRequires: (python3-aiocontextvars if python3-base < 3.7) BuildArch: noarch Requires: python-setuptools %if %{python_version_nodots} < 37 @@ -59,6 +61,7 @@ OpenTelemetry Python API %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/opentelemetry +%{python_sitelib}/opentelemetry_api-%{version}*-info %changelog