Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rtslib-fb for openSUSE:Factory checked in at 2024-01-10 21:50:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rtslib-fb (Old) and /work/SRC/openSUSE:Factory/.python-rtslib-fb.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rtslib-fb" Wed Jan 10 21:50:22 2024 rev:34 rq:1137851 version:2.1.76 Changes: -------- --- /work/SRC/openSUSE:Factory/python-rtslib-fb/python-rtslib-fb.changes 2023-10-06 21:12:32.495732932 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib-fb.new.21961/python-rtslib-fb.changes 2024-01-10 21:50:25.380102198 +0100 @@ -1,0 +2,12 @@ +Tue Jan 9 21:43:21 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Clean up the SPEC file + +------------------------------------------------------------------- +Tue Jan 9 11:49:34 UTC 2024 - David Disseldorp <dd...@suse.com> + +- Drop downstream-only LIO target_core_rbd support (bsc#1218634) + * rbd-support-disable_emulate_legacy_capacity.patch + * rbd-support.patch + +------------------------------------------------------------------- Old: ---- rbd-support-disable_emulate_legacy_capacity.patch rbd-support.patch BETA DEBUG BEGIN: Old:- Drop downstream-only LIO target_core_rbd support (bsc#1218634) * rbd-support-disable_emulate_legacy_capacity.patch * rbd-support.patch Old: * rbd-support-disable_emulate_legacy_capacity.patch * rbd-support.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rtslib-fb.spec ++++++ --- /var/tmp/diff_new_pack.esboDV/_old 2024-01-10 21:50:25.952122971 +0100 +++ /var/tmp/diff_new_pack.esboDV/_new 2024-01-10 21:50:25.956123116 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib-fb # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # +%define dbdir %{_sysconfdir}/target +%define oldpython python +%define cpkg %{oldpython}-rtslib-fb-common %if 0%{?suse_version} > 1500 %bcond_without libalternatives %else %bcond_with libalternatives %endif - -%define dbdir %{_sysconfdir}/target -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-rtslib-fb Version: 2.1.76 @@ -33,35 +33,28 @@ Group: Development/Languages/Python URL: https://github.com/open-iscsi/rtslib-fb.git Source: python-rtslib-fb-v%{version}.tar.xz -Patch1: rbd-support.patch Patch2: rtslib-Fix-handling-of-sysfs-RW-attrs-that-are-actually-RO.patch Patch3: rtslib-target-service-for-suse.patch -Patch4: rbd-support-disable_emulate_legacy_capacity.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyudev} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 -Requires: python-pyudev -%define oldpython python -%define cpkg %{oldpython}-rtslib-fb-common Requires: %{cpkg} +Requires: python-pyudev +Requires: python-six +Provides: python-rtslib = %{version}-%{release} +Obsoletes: python-rtslib < %{version} +BuildArch: noarch %if %{with libalternatives} -Requires: alts BuildRequires: alts +Requires: alts %else Requires(post): update-alternatives Requires(postun):update-alternatives %endif -Provides: python-rtslib = %{version}-%{release} -Obsoletes: python-rtslib < %{version} -%if 0%{?sle_version} >= 150000 -# explicit Provides advertising RBD support -Provides: python-rtslib-rbd = %{version} -Obsoletes: python-rtslib-rbd < %{version} -%endif -BuildArch: noarch - %python_subpackages %description @@ -80,19 +73,14 @@ %prep %setup -q -n python-rtslib-fb-v%{version} -%if 0%{?sle_version} >= 150000 -# RBD support is dependent on LIO changes present in the SLE/Leap kernel -%patch1 -p1 -%patch4 -p1 -%endif %patch2 -p1 %patch3 -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}/%{_bindir}/targetctl %fdupes %{buildroot} install -d -m755 %{buildroot}%{_mandir}/man5 @@ -138,7 +126,9 @@ %files %{python_files} %python_alternative %{_bindir}/targetctl -%{python_sitelib}/* +%{python_sitelib}/rtslib +%{python_sitelib}/rtslib_fb +%{python_sitelib}/rtslib_fb-%{version}*-info %files -n %{cpkg} %license COPYING @@ -148,6 +138,6 @@ %dir %{dbdir}/alua %{_unitdir}/target.service %{_sbindir}/rctarget -%doc %{_mandir}/man5/saveconfig.json.5.gz -%doc %{_mandir}/man8/targetctl.8.gz +%{_mandir}/man5/saveconfig.json.5%{?ext_man} +%{_mandir}/man8/targetctl.8%{?ext_man}