[packages/python3-opentelemetry-exporter-otlp-proto-grpc] - new
qboosh
qboosh at pld-linux.org
Sat Mar 7 11:14:42 CET 2026
commit 46e47b56821f56bb7ebcc14c659add362761853e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 7 11:14:37 2026 +0100
- new
...on3-opentelemetry-exporter-otlp-proto-grpc.spec | 71 ++++++++++++++++++++++
1 file changed, 71 insertions(+)
---
diff --git a/python3-opentelemetry-exporter-otlp-proto-grpc.spec b/python3-opentelemetry-exporter-otlp-proto-grpc.spec
new file mode 100644
index 0000000..3f0c334
--- /dev/null
+++ b/python3-opentelemetry-exporter-otlp-proto-grpc.spec
@@ -0,0 +1,71 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: OpenTelemetry Collector Protobuf over gRPC Exporter
+Summary(pl.UTF-8): Eksporter Protobuf po gRPC do zbierania danych w OpenTelemetry
+Name: python3-opentelemetry-exporter-otlp-proto-grpc
+Version: 1.40.0
+Release: 1
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-exporter-otlp-proto-grpc/
+Source0: https://files.pythonhosted.org/packages/source/o/opentelemetry-exporter-otlp-proto-grpc/opentelemetry_exporter_otlp_proto_grpc-%{version}.tar.gz
+# Source0-md5: dd82eb7923db8ddb0c14aff4e06c06a5
+URL: https://pypi.org/project/opentelemetry-exporter-otlp-proto-grpc/
+BuildRequires: python3-build
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires: python3-googleapis-common-protos >= 1.57
+BuildRequires: python3-googleapis-common-protos < 2
+BuildRequires: python3-grpcio >= 1.63.2
+BuildRequires: python3-grpcio < 2
+BuildRequires: python3-opentelemetry-api >= 1.15
+BuildRequires: python3-opentelemetry-api < 2
+BuildRequires: python3-opentelemetry-exporter-otlp-proto-common = 1.40.0
+BuildRequires: python3-opentelemetry-proto = 1.40.0
+BuildRequires: python3-opentelemetry-sdk >= 1.40.0
+BuildRequires: python3-opentelemetry-sdk < 1.41
+BuildRequires: python3-opentelemetry-test-utils = 0.61
+BuildRequires: python3-typing_extensions >= 4.6.0
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.9
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library allows to export data to the OpenTelemetry Collector
+using the OpenTelemetry Protocol using Protobuf over gRPC.
+
+%description -l pl.UTF-8
+Ta biblioteka pozwala eksportować dane do zbierania w OpenTelemetry
+poprzez protokół OpenTelemetry przy użyciu Protobufa po gRPC.
+
+%prep
+%setup -q -n opentelemetry_exporter_otlp_proto_grpc-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m unittest discover -s tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/opentelemetry/exporter/otlp/proto/grpc
+%{py3_sitescriptdir}/opentelemetry_exporter_otlp_proto_grpc-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-exporter-otlp-proto-grpc.git/commitdiff/46e47b56821f56bb7ebcc14c659add362761853e
More information about the pld-cvs-commit
mailing list