Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bmap-tools for openSUSE:Factory checked in at 2024-04-18 22:12:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bmap-tools (Old) and /work/SRC/openSUSE:Factory/.bmap-tools.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bmap-tools" Thu Apr 18 22:12:08 2024 rev:4 rq:1168628 version:3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/bmap-tools/bmap-tools.changes 2024-03-13 22:19:49.535029387 +0100 +++ /work/SRC/openSUSE:Factory/.bmap-tools.new.26366/bmap-tools.changes 2024-04-18 22:13:12.458807756 +0200 @@ -1,0 +2,7 @@ +Tue Apr 16 10:59:14 UTC 2024 - Max Lin <m...@suse.com> + +- Add %{?sle15_python_module_pythons} to build with python 3.11 on Leap15 +- Disable gpg test on Leap 15 since python 3.11 build of gpg is not + available on Leap 15 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bmap-tools.spec ++++++ --- /var/tmp/diff_new_pack.dww8Ry/_old 2024-04-18 22:13:13.910861148 +0200 +++ /var/tmp/diff_new_pack.dww8Ry/_new 2024-04-18 22:13:13.914861296 +0200 @@ -15,7 +15,13 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +# The implementation of python 3.11 support begins from SLE15-SP4 +%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150300 +%bcond_with gpgtest +%else +%bcond_without gpgtest +%endif +%{?sle15_python_module_pythons} %define distversion 3.7.0 Name: bmap-tools Version: 3.7 @@ -35,7 +41,9 @@ Requires(postun): update-alternatives Provides: python-bmaptools = %{version}-%{release} # SECTION test +%if %{with gpgtest} BuildRequires: %{python_module gpg} +%endif BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} # /SECTION @@ -78,6 +86,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check +%if %{with gpgtest} # extend signing key expiration for reproducible builds export GNUPGHOME=$PWD/tests/test-data/gnupg echo 'expire @@ -88,6 +97,10 @@ save' | gpg --command-fd=0 --batch --edit-key 927FF9746434704C5774BE648D49DFB1163BDFB4 # no /sys/module/zfs/ in obs test environment: returns false instead of IOError %pytest -k "not test_is_zfs_configuration_compatible_unreadable_file" +%else +# there is no gpg built with python 3.11 in Leap15/SLE15 +%pytest -k "not test_is_zfs_configuration_compatible_unreadable_file and not test_valid_signature" +%endif %post %{python_install_alternative bmaptool bmaptool.1}