%global python3_pkgversion 3.11 %global __python3 /usr/bin/python3.11 %{?python_disable_dependency_generator} %global pypi_name opentelemetry_exporter_otlp_proto_http Name: python-%{pypi_name} Version: 1.19.0 Release: 5%{?dist} Summary: OpenTelemetry Collector Protobuf over HTTP Exporter # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: Apache-2.0 URL: https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http Source: https://files.pythonhosted.org/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-hatchling BuildRequires: python%{python3_pkgversion}-tomli %description %{summary} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} Requires: python%{python3_pkgversion}-deprecated >= 1.2.6 Requires: python%{python3_pkgversion}-backoff >= 1.10.0 Requires: python%{python3_pkgversion}-backoff < 3.0.0 Requires: python%{python3_pkgversion}-googleapis-common-protos >= 1.52 Requires: python%{python3_pkgversion}-googleapis-common-protos < 2 Requires: python%{python3_pkgversion}-grpcio >= 1.0.0 Requires: python%{python3_pkgversion}-grpcio < 2.0.0 Requires: python%{python3_pkgversion}-opentelemetry_api >= 1.15.0 Requires: python%{python3_pkgversion}-opentelemetry_api < 2.0.0 Requires: python%{python3_pkgversion}-opentelemetry_proto = 1.19.0 Requires: python%{python3_pkgversion}-opentelemetry_sdk >= 1.19.0 Requires: python%{python3_pkgversion}-opentelemetry_sdk < 2.0.0 Requires: python%{python3_pkgversion}-opentelemetry_exporter_otlp_proto_common = 1.19.0 Requires: python%{python3_pkgversion}-requests >= 2.7 Requires: python%{python3_pkgversion}-requests < 3.0 Obsoletes: python3-%{pypi_name} < %{version}-%{release} %if 0%{?rhel} == 8 Obsoletes: python39-%{pypi_name} < %{version}-%{release} %endif %description -n python%{python3_pkgversion}-%{pypi_name} %{summary} %prep set -ex %autosetup -n %{pypi_name}-%{version} %build set -ex %pyproject_wheel %install set -ex %pyproject_install %files -n python%{python3_pkgversion}-%{pypi_name} %{python3_sitelib}/opentelemetry/exporter/otlp/proto/http/ %{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ %changelog * Fri Nov 17 2023 Odilon Sousa - 1.19.0-5 - Obsolete python39 packages for a smooth upgrade * Sat Nov 11 2023 Odilon Sousa - 1.19.0-4 - Build against python 3.11 * Tue Aug 08 2023 Odilon Sousa - 1.19.0-3 - Update opentelemetry dependency names * Tue Aug 08 2023 Odilon Sousa - 1.19.0-2 - Update googleapis-common-protos requirement * Wed Jul 26 2023 Odilon Sousa - 1.19.0-1 - Initial package.