Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package micropython for openSUSE:Factory 
checked in at 2025-02-11 21:22:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/micropython (Old)
 and      /work/SRC/openSUSE:Factory/.micropython.new.19470 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "micropython"

Tue Feb 11 21:22:45 2025 rev:16 rq:1244833 version:1.24.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/micropython/micropython.changes  2025-02-06 
22:09:41.916682247 +0100
+++ /work/SRC/openSUSE:Factory/.micropython.new.19470/micropython.changes       
2025-02-11 21:23:56.072539793 +0100
@@ -1,0 +2,5 @@
+Fri Feb  7 10:33:24 UTC 2025 - Dominik Heidler <dheid...@suse.de>
+
+- Fix build for 15.6
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ micropython.spec ++++++
--- /var/tmp/diff_new_pack.vE2gss/_old  2025-02-11 21:23:57.264589076 +0100
+++ /var/tmp/diff_new_pack.vE2gss/_new  2025-02-11 21:23:57.268589242 +0100
@@ -17,6 +17,7 @@
 
 
 %define pythons python3
+%{?sle15_python_module_pythons}
 
 Name:           micropython
 Version:        1.24.1
@@ -37,8 +38,8 @@
 %package -n mpremote
 Summary:        MicroPython remote control
 BuildArch:      noarch
-BuildRequires:  python3-hatch-requirements-txt
-BuildRequires:  python3-hatchling
+BuildRequires:  %{python_module hatch-requirements-txt}
+BuildRequires:  %{python_module hatchling}
 Requires:       python3-pyserial >= 3.3
 BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module pip}
@@ -78,9 +79,11 @@
 install -t %{buildroot}%{_bindir} ports/unix/build-standard/micropython
 pushd tools/mpremote
 %pyproject_install
-%python3_fix_shebang
-%fdupes %{buildroot}%{python3_sitelib}
 popd
+%python3_fix_shebang
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+# remove pycache to get rid of rpmlint "W: python-bytecode-inconsistent-mtime" 
warnings
+%python_expand rm -rf %{buildroot}%{$python_sitelib}/mpremote/__pycache__
 
 %check
 %ifnarch x86_64
@@ -89,8 +92,8 @@
 rm -f tests/float/float_parse.py
 rm -f tests/float/float_parse_doubleprec.py
 %endif
-export MICROPY_CPYTHON3=python3
-make -C ports/unix PYTHON=%{_bindir}/python3 V=1 test
+export MICROPY_CPYTHON3=python%python_version
+make -C ports/unix PYTHON=%{_bindir}/python%python_version V=1 test
 
 %files
 %license LICENSE
@@ -100,7 +103,7 @@
 %files -n mpremote
 %license tools/mpremote/LICENSE
 %doc tools/mpremote/README.md
-%{python3_sitelib}/mpremote
-%{python3_sitelib}/mpremote-%{version}.dist-info
+%{_prefix}/lib/python%{python_version}/site-packages/mpremote
+%{_prefix}/lib/python%{python_version}/site-packages/mpremote-%{version}.dist-info
 %{_bindir}/mpremote
 

Reply via email to