15
0

Accepting request 946889 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/946889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=7
This commit is contained in:
2022-01-17 21:34:05 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 16 20:23:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Remove obsolete but unresolvable python36 requirement
-------------------------------------------------------------------
Thu Nov 4 10:15:19 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

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