1
0

2 Commits

2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 15:00:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 6 13:32:29 UTC 2024 - Matej Cepl <mcepl@cepl.eu> Wed Mar 6 13:32:29 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-opencensus-context # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 touch tests/__init__.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%{python_expand # delete common files %{python_expand # delete common files
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.* rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*