[packages/python3-opentelemetry-instrumentation-threading] Initial
arekm
arekm at pld-linux.org
Sun Mar 15 17:29:41 CET 2026
commit 822ea3d6d07b2c75469807cac76c60a70bf622c2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 17:29:26 2026 +0100
Initial
...n3-opentelemetry-instrumentation-threading.spec | 72 ++++++++++++++++++++++
1 file changed, 72 insertions(+)
---
diff --git a/python3-opentelemetry-instrumentation-threading.spec b/python3-opentelemetry-instrumentation-threading.spec
new file mode 100644
index 0000000..89761ee
--- /dev/null
+++ b/python3-opentelemetry-instrumentation-threading.spec
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: Thread context propagation support for OpenTelemetry
+Summary(pl.UTF-8): Propagacja kontekstu wątków dla OpenTelemetry
+Name: python3-opentelemetry-instrumentation-threading
+%define subver b0
+%define rel 1
+Version: 0.61
+Release: 0.%{subver}.%{rel}
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-instrumentation-threading/
+Source0: https://files.pythonhosted.org/packages/source/o/opentelemetry-instrumentation-threading/opentelemetry_instrumentation_threading-%{version}%{subver}.tar.gz
+# Source0-md5: afe0f75d43cc1b9d04826ed529d9a28e
+URL: https://pypi.org/project/opentelemetry-instrumentation-threading/
+BuildRequires: python3-build
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires: python3-opentelemetry-api >= 1.12
+BuildRequires: python3-opentelemetry-instrumentation = 0.61
+BuildRequires: python3-pytest
+BuildRequires: python3-wrapt >= 1.0.0
+BuildRequires: python3-wrapt < 2
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.9
+Requires: python3-opentelemetry-api >= 1.12
+Requires: python3-opentelemetry-instrumentation = 0.61
+Requires: python3-wrapt >= 1.0.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Thread context propagation support for OpenTelemetry. This
+instrumentation ensures that OpenTelemetry context is properly
+propagated across thread boundaries.
+
+%description -l pl.UTF-8
+Propagacja kontekstu wątków dla OpenTelemetry. Ta instrumentacja
+zapewnia prawidłową propagację kontekstu OpenTelemetry między
+wątkami.
+
+%prep
+%setup -q -n opentelemetry_instrumentation_threading-%{version}%{subver}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest 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/instrumentation/threading
+%{py3_sitescriptdir}/opentelemetry_instrumentation_threading-%{version}%{subver}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-instrumentation-threading.git/commitdiff/822ea3d6d07b2c75469807cac76c60a70bf622c2
More information about the pld-cvs-commit
mailing list