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

qboosh qboosh at pld-linux.org
Thu Mar 5 06:27:45 CET 2026


commit 56dd96a0204468b6128ad6f08423e39685646742
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 5 06:27:38 2026 +0100

    - new

 ...3-opentelemetry-exporter-otlp-proto-common.spec | 70 ++++++++++++++++++++++
 1 file changed, 70 insertions(+)
---
diff --git a/python3-opentelemetry-exporter-otlp-proto-common.spec b/python3-opentelemetry-exporter-otlp-proto-common.spec
new file mode 100644
index 0000000..f830605
--- /dev/null
+++ b/python3-opentelemetry-exporter-otlp-proto-common.spec
@@ -0,0 +1,70 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	OpenTelemetry Protobuf encoding
+Summary(pl.UTF-8):	Kodowanie Protobuf dla OpenTelemetry
+Name:		python3-opentelemetry-exporter-otlp-proto-common
+Version:	1.39.1
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-exporter-otlp-proto-common/
+Source0:	https://files.pythonhosted.org/packages/source/o/opentelemetry-exporter-otlp-proto-common/opentelemetry_exporter_otlp_proto_common-%{version}.tar.gz
+# Source0-md5:	3aab9aa536cc20138fa610d6be91e984
+URL:		https://pypi.org/project/opentelemetry-exporter-otlp-proto-common/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-opentelemetry-api = 1.39.1
+BuildRequires:	python3-opentelemetry-proto = 1.39.1
+BuildRequires:	python3-opentelemetry-sdk = 1.39.1
+BuildRequires:	python3-opentelemetry-test-utils = 0.60
+%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 is provided as a convenience to encode to Protobuf.
+Currently used by:
+- opentelemetry-exporter-otlp-proto-grpc
+- opentelemetry-exporter-otlp-proto-http
+
+%description -l pl.UTF-8
+Ta biblioteka jest dostarczana dla wygody przy kodowaniu Protobufa.
+Obecnie jest używana przez:
+- opentelemetry-exporter-otlp-proto-grpc
+- opentelemetry-exporter-otlp-proto-http
+
+%prep
+%setup -q -n opentelemetry_exporter_otlp_proto_common-%{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
+%dir %{py3_sitescriptdir}/opentelemetry/exporter
+%dir %{py3_sitescriptdir}/opentelemetry/exporter/otlp
+%dir %{py3_sitescriptdir}/opentelemetry/exporter/otlp/proto
+%{py3_sitescriptdir}/opentelemetry/exporter/otlp/proto/common
+%{py3_sitescriptdir}/opentelemetry_exporter_otlp_proto_common-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-exporter-otlp-proto-common.git/commitdiff/56dd96a0204468b6128ad6f08423e39685646742



More information about the pld-cvs-commit mailing list