Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cheroot for openSUSE:Factory checked in at 2021-10-25 15:16:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cheroot (Old) and /work/SRC/openSUSE:Factory/.python-cheroot.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cheroot" Mon Oct 25 15:16:50 2021 rev:16 rq:923368 version:8.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes 2021-04-01 14:16:02.735872179 +0200 +++ /work/SRC/openSUSE:Factory/.python-cheroot.new.1890/python-cheroot.changes 2021-10-25 15:17:10.545665967 +0200 @@ -1,0 +2,10 @@ +Tue Oct 5 13:46:46 UTC 2021 - Stefan Schubert <[email protected]> + +- Added BuildRequires: alts + +------------------------------------------------------------------- +Thu Sep 30 08:50:54 UTC 2021 - Stefan Schubert <[email protected]> + +- Use libalternatives instead of update-alternatives. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cheroot.spec ++++++ --- /var/tmp/diff_new_pack.SF7hFM/_old 2021-10-25 15:17:11.277666425 +0200 +++ /var/tmp/diff_new_pack.SF7hFM/_new 2021-10-25 15:17:11.281666427 +0200 @@ -16,6 +16,12 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pypi_name cheroot %bcond_without python2 @@ -34,7 +40,7 @@ BuildRequires: %{python_module setuptools_scm_git_archive >= 1.0} BuildRequires: %{python_module six >= 1.11.0} BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: python-rpm-macros >= 20210929 %if %{with python2} BuildRequires: python-backports.functools_lru_cache BuildRequires: python-selectors2 @@ -60,8 +66,13 @@ Requires: python-jaraco.functools Requires: python-more-itertools >= 2.6 Requires: python-six >= 1.11.0 +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun):update-alternatives +%endif # the package and distribution name is lowercase-cheroot, # but PyPI claims the name is capital-Cheroot # *smacks head against desk* @@ -98,6 +109,10 @@ # test_tls_client_auth[...-False-localhost-builtin] fails ocassionally on server-side OBS %pytest $pytest_opts -k "not (test_tls_client_auth and False-localhost-builtin)" +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative cheroot + %post %python_install_alternative cheroot
