Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-opencensus-ext-threading for openSUSE:Factory checked in at 2024-03-06 23:06:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-opencensus-ext-threading (Old) and /work/SRC/openSUSE:Factory/.python-opencensus-ext-threading.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opencensus-ext-threading" Wed Mar 6 23:06:06 2024 rev:3 rq:1155570 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-opencensus-ext-threading/python-opencensus-ext-threading.changes 2021-01-22 21:51:47.057803153 +0100 +++ /work/SRC/openSUSE:Factory/.python-opencensus-ext-threading.new.1770/python-opencensus-ext-threading.changes 2024-03-06 23:06:40.497978896 +0100 @@ -1,0 +2,8 @@ +Tue Mar 5 23:05:44 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Switch package to modern Python Stack on SLE-15 + + Add %{?sle15_python_module_pythons} + + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}} + + Drop build support for Python 2.x + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-opencensus-ext-threading.spec ++++++ --- /var/tmp/diff_new_pack.jiheyN/_old 2024-03-06 23:06:41.306008216 +0100 +++ /var/tmp/diff_new_pack.jiheyN/_new 2024-03-06 23:06:41.306008216 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-opencensus-ext-threading # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,7 @@ %define repo_version 0.7.12 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%{?sle15_python_module_pythons} Name: python-opencensus-ext-threading Version: 0.1.2 Release: 0 @@ -29,18 +28,13 @@ # PATCH-FIX-UPSTREAM remove-mock.patch gh#census-instrumentation/opencensus-python#1002 Patch0: remove-mock.patch BuildRequires: %{python_module opencensus} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes -%if %{with python2} -BuildRequires: python-futures -BuildRequires: python-mock -%endif BuildRequires: python-rpm-macros Requires: python-opencensus BuildArch: noarch -%ifpython2 -Requires: python-futures -%endif %python_subpackages %description @@ -55,10 +49,10 @@ 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__.* @@ -75,5 +69,6 @@ %files %{python_files} %doc CHANGELOG.md README.rst %license ../../LICENSE -%{python_sitelib}/* +%{python_sitelib}/opencensus/ext/threading +%{python_sitelib}/opencensus_ext_threading-%{version}*-info ++++++ remove-mock.patch ++++++ ++++ 1153 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-opencensus-ext-threading/remove-mock.patch ++++ and /work/SRC/openSUSE:Factory/.python-opencensus-ext-threading.new.1770/remove-mock.patch