From 9547a3a3dc7f29d299bcae15fc4c3a463de26b2da23b5184c4f67b36794f7ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jun 2025 15:01:07 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus-context?expand=0&rev=13 --- python-opencensus-context.changes | 5 +++++ python-opencensus-context.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-opencensus-context.changes b/python-opencensus-context.changes index 7ecf942..0ce4653 100644 --- a/python-opencensus-context.changes +++ b/python-opencensus-context.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 15:00:41 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Mar 6 13:32:29 UTC 2024 - Matej Cepl diff --git a/python-opencensus-context.spec b/python-opencensus-context.spec index 0dd9381..6c7b325 100644 --- a/python-opencensus-context.spec +++ b/python-opencensus-context.spec @@ -1,7 +1,7 @@ # # spec file for package python-opencensus-context # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,10 +48,10 @@ contextvars is used for Python >= 3.6, which provides asyncio support. touch tests/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %{python_expand # delete common files rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*