Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tifffile for openSUSE:Factory checked in at 2023-02-22 15:21:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tifffile (Old) and /work/SRC/openSUSE:Factory/.python-tifffile.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tifffile" Wed Feb 22 15:21:15 2023 rev:9 rq:1066888 version:2022.10.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tifffile/python-tifffile.changes 2023-01-23 18:32:04.412105840 +0100 +++ /work/SRC/openSUSE:Factory/.python-tifffile.new.1706/python-tifffile.changes 2023-02-22 15:21:15.961752215 +0100 @@ -1,0 +2,5 @@ +Tue Feb 21 01:18:38 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Inject multibuild to fix a bootstrapping issue. + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tifffile.spec ++++++ --- /var/tmp/diff_new_pack.vOsVDa/_old 2023-02-22 15:21:16.781756866 +0100 +++ /var/tmp/diff_new_pack.vOsVDa/_new 2023-02-22 15:21:16.785756889 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-tifffile +# spec file # # Copyright (c) 2023 SUSE LLC # @@ -16,7 +16,15 @@ # -Name: python-tifffile +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-tifffile%{psuffix} Version: 2022.10.10 Release: 0 Summary: Read and write TIFF(r) files @@ -39,11 +47,12 @@ Recommends: python-matplotlib >= 3.3 Recommends: python-zarr # SECTION test -BuildRequires: %{python_module imagecodecs >= 2022.2.22} +%if %{with test} BuildRequires: %{python_module cmapfile} BuildRequires: %{python_module czifile} BuildRequires: %{python_module dask} BuildRequires: %{python_module fsspec} +BuildRequires: %{python_module imagecodecs >= 2022.2.22} BuildRequires: %{python_module lfdfiles} BuildRequires: %{python_module lxml} BuildRequires: %{python_module matplotlib >= 3.3} @@ -53,6 +62,7 @@ BuildRequires: %{python_module roifile} BuildRequires: %{python_module xarray} BuildRequires: %{python_module zarr} +%endif # /SECTION BuildArch: noarch %python_subpackages @@ -73,6 +83,7 @@ %pyproject_wheel %install +%if !%{with test} %pyproject_install %python_clone -a %{buildroot}%{_bindir}/tifffile %python_clone -a %{buildroot}%{_bindir}/lsm2bin @@ -83,6 +94,7 @@ %prepare_alternative tifffile %prepare_alternative lsm2bin %prepare_alternative tiffcomment +%endif %post %python_install_alternative tifffile @@ -97,6 +109,7 @@ %python_uninstall_alternative tiff2fsspec %check +%if %{with test} # Crashes Out-Of-Memory donttest="test_write_ome" donttest="$donttest or test_write_imagej_raw" @@ -108,7 +121,9 @@ # can't connect to external server donttest="$donttest or test_class_omexml" %pytest -n auto -k "not ($donttest)" +%endif +%if !%{with test} %files %{python_files} %doc README.rst %license LICENSE @@ -118,5 +133,6 @@ %python_alternative %{_bindir}/tiff2fsspec %{python_sitelib}/tifffile-%{version}.dist-info/ %{python_sitelib}/tifffile +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>