Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pysmbc for openSUSE:Factory checked in at 2025-06-11 16:20:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pysmbc (Old) and /work/SRC/openSUSE:Factory/.python-pysmbc.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysmbc" Wed Jun 11 16:20:40 2025 rev:10 rq:1284440 version:1.0.25.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pysmbc/python-pysmbc.changes 2023-12-15 21:46:05.531546760 +0100 +++ /work/SRC/openSUSE:Factory/.python-pysmbc.new.19631/python-pysmbc.changes 2025-06-11 16:21:25.467702578 +0200 @@ -1,0 +2,5 @@ +Tue Jun 10 12:32:12 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pysmbc.spec ++++++ --- /var/tmp/diff_new_pack.xoBlvX/_old 2025-06-11 16:21:26.879761433 +0200 +++ /var/tmp/diff_new_pack.xoBlvX/_new 2025-06-11 16:21:26.883761600 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pysmbc # -# Copyright (c) 2023 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python # Tests need a running samba server %bcond_with test @@ -29,18 +28,20 @@ URL: https://github.com/hamano/pysmbc Source: https://files.pythonhosted.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(smbclient) -%if %{with test} -BuildRequires: %{python_module pytest} -%endif Obsoletes: %{oldpython}-smbc < %{version} Provides: %{oldpython}-smbc = %{version} Obsoletes: python-smbc < %{version}-%{release} Provides: python-smbc = %{version}-%{release} +%if %{with test} +BuildRequires: %{python_module pytest} +%endif %python_subpackages %description @@ -53,10 +54,10 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with test}