[packages/python3-opentelemetry-exporter-otlp-proto-http] - new

qboosh qboosh at pld-linux.org
Sat Mar 7 11:24:58 CET 2026


commit 1cc7ec5c860653889f478d8c1093e781444193dd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 7 11:24:55 2026 +0100

    - new

 ...on3-opentelemetry-exporter-otlp-proto-http.spec | 71 ++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/python3-opentelemetry-exporter-otlp-proto-http.spec b/python3-opentelemetry-exporter-otlp-proto-http.spec
new file mode 100644
index 0000000..c181093
--- /dev/null
+++ b/python3-opentelemetry-exporter-otlp-proto-http.spec
@@ -0,0 +1,71 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	OpenTelemetry Collector Protobuf over HTTP Exporter
+Summary(pl.UTF-8):	Eksporter Protobuf po HTTP do zbierania danych w OpenTelemetry
+Name:		python3-opentelemetry-exporter-otlp-proto-http
+Version:	1.40.0
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-exporter-otlp-proto-http/
+Source0:	https://files.pythonhosted.org/packages/source/o/opentelemetry-exporter-otlp-proto-http/opentelemetry_exporter_otlp_proto_http-%{version}.tar.gz
+# Source0-md5:	a691ad538ea78e76ad6d4424c76afdb3
+URL:		https://pypi.org/project/opentelemetry-exporter-otlp-proto-http/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-googleapis-common-protos >= 1.52
+BuildRequires:	python3-googleapis-common-protos < 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-requests >= 2.7
+BuildRequires:	python3-requests < 3
+BuildRequires:	python3-typing_extensions >= 4.5.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 HTTP.
+
+%description -l pl.UTF-8
+Ta biblioteka pozwala eksportować dane do zbierania w OpenTelemetry
+poprzez protokół OpenTelemetry przy użyciu Protobufa po HTTP.
+
+%prep
+%setup -q -n opentelemetry_exporter_otlp_proto_http-%{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/http
+%{py3_sitescriptdir}/opentelemetry_exporter_otlp_proto_http-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-exporter-otlp-proto-http.git/commitdiff/1cc7ec5c860653889f478d8c1093e781444193dd



More information about the pld-cvs-commit mailing list