Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linstor-client for openSUSE:Factory checked in at 2026-04-20 16:12:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linstor-client (Old) and /work/SRC/openSUSE:Factory/.linstor-client.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linstor-client" Mon Apr 20 16:12:07 2026 rev:6 rq:1348095 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/linstor-client/linstor-client.changes 2024-03-15 20:32:00.181669641 +0100 +++ /work/SRC/openSUSE:Factory/.linstor-client.new.11940/linstor-client.changes 2026-04-20 16:12:19.539693393 +0200 @@ -1,0 +2,7 @@ +Wed Apr 15 05:40:56 UTC 2026 - Steve Kowalik <[email protected]> + +- Convert to noarch, this package builds no binaries. +- Use pyproject macros to build and install. +- Explicitly list files and directories to install under sitelib. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linstor-client.spec ++++++ --- /var/tmp/diff_new_pack.pwtuba/_old 2026-04-20 16:12:20.203720733 +0200 +++ /var/tmp/diff_new_pack.pwtuba/_new 2026-04-20 16:12:20.203720733 +0200 @@ -1,7 +1,7 @@ # # spec file for package linstor-client # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # 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 python_linstor 1.12 Name: linstor-client Version: 1.12.0 @@ -27,11 +26,13 @@ URL: https://github.com/LINBIT/linstor-client Source: https://pkg.linbit.com//downloads/linstor/%{name}-%{version}.tar.gz Patch1: change-location-of-bash-completion.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module linstor >= %{python_linstor}} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes Requires: python-linstor >= %{python_linstor}} +BuildArch: noarch %python_subpackages %description @@ -53,15 +54,22 @@ %build # man pages included in tarball -%python_build +%pyproject_wheel %install -#python setup.py install --single-version-externally-managed -O1 --root=%{buildroot} --prefix=%{_prefix} --record=INSTALLED_FILES -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%pyproject_install +# Move bash-completion, pip can't write outside of sitelib +mv -v %{buildroot}%{python3_sitelib}/usr/share %{buildroot}/usr +%{python_expand %fdupes %{buildroot}%{$python_sitelib} +# And clean up +rm -r %{buildroot}%{$python_sitelib}/usr +} %files %{python_files} -%{python_sitelib} +%{python_sitelib}/linstor_client +%{python_sitelib}/linstor_client-%{version}.dist-info +%{python_sitelib}/linstor_client_main.py +%pycache_only %{python_sitelib}/__pycache__/linstor_client_main.*.pyc %files -n linstor %{_bindir}/linstor
