Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyOCD for openSUSE:Factory 
checked in at 2023-07-27 16:52:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyOCD (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyOCD.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyOCD"

Thu Jul 27 16:52:54 2023 rev:6 rq:1100995 version:0.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyOCD/python-pyOCD.changes        
2020-05-26 17:19:03.727941499 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyOCD.new.32662/python-pyOCD.changes     
2023-07-27 16:53:11.090619854 +0200
@@ -1,0 +2,7 @@
+Thu Jul 27 07:25:56 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Switch to setuptools_scm, rather than setuptools_scm_git_archive.
+- Switch to pyproject macros.
+- Stop using greedy globs in %files.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyOCD.spec ++++++
--- /var/tmp/diff_new_pack.M1TP7a/_old  2023-07-27 16:53:11.866624238 +0200
+++ /var/tmp/diff_new_pack.M1TP7a/_new  2023-07-27 16:53:11.874624283 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyOCD
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,22 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyOCD
 Version:        0.22.0
 Release:        0
 Summary:        CMSIS-DAP debugger for python
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/mbedmicro/pyOCD
 Source:         
https://files.pythonhosted.org/packages/source/p/pyocd/pyocd-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools_scm_git_archive}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-usb
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Provides:       python-pyocd = %{version}
 Obsoletes:      python-pyocd < %{version}
 BuildArch:      noarch
@@ -45,10 +44,10 @@
 %setup -q -n pyocd-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pyocd
 %python_clone -a %{buildroot}%{_bindir}/pyocd-flashtool
 %python_clone -a %{buildroot}%{_bindir}/pyocd-gdbserver
@@ -72,6 +71,7 @@
 %python_alternative %{_bindir}/pyocd-flashtool
 %python_alternative %{_bindir}/pyocd-gdbserver
 %python_alternative %{_bindir}/pyocd-tool
-%{python_sitelib}/*
+%{python_sitelib}/pyocd
+%{python_sitelib}/pyocd-%{version}.dist-info
 
 %changelog

Reply via email to