Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-linstor for openSUSE:Factory checked in at 2025-12-02 13:20:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-linstor (Old) and /work/SRC/openSUSE:Factory/.python-linstor.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-linstor" Tue Dec 2 13:20:27 2025 rev:5 rq:1320794 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-linstor/python-linstor.changes 2022-01-13 00:23:17.895970310 +0100 +++ /work/SRC/openSUSE:Factory/.python-linstor.new.14147/python-linstor.changes 2025-12-02 13:21:46.094912131 +0100 @@ -1,0 +2,9 @@ +Wed Jun 18 05:37:04 UTC 2025 - Steve Kowalik <[email protected]> + +- Convert to noarch, this package builds no binaries. +- Use pyproject macros to build and install. +- Drop use of protobuf, it isn't required. +- Explicitly list files and directories to install under sitelib, as well + as shipping the README and the license. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-linstor.spec ++++++ --- /var/tmp/diff_new_pack.H568Li/_old 2025-12-02 13:21:47.278961823 +0100 +++ /var/tmp/diff_new_pack.H568Li/_new 2025-12-02 13:21:47.282961991 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-linstor # -# Copyright (c) 2022 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-%{**}} Name: python-linstor Version: 1.12.0 Release: 0 @@ -25,11 +24,12 @@ Group: Productivity/Clustering/HA URL: https://github.com/LINBIT/linstor-api-py Source: https://pkg.linbit.com//downloads/linstor/%{name}-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes -BuildRequires: protobuf-devel -Requires: python-protobuf +BuildArch: noarch %python_subpackages %description @@ -40,14 +40,18 @@ %build make %{?_smp_mflags} gensrc -%python_build +%pyproject_wheel %install -#python setup.py install --single-version-externally-managed -O1 --root=%{buildroot} --record=INSTALLED_FILES -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -#files -f INSTALLED_FILES +%check +%pytest linstor_tests + %files %{python_files} -%{python_sitelib} +%doc README.md +%license COPYING +%{python_sitelib}/linstor +%{python_sitelib}/python_linstor-%{version}.dist-info
