Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hypercorn for openSUSE:Factory checked in at 2025-07-10 23:15:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypercorn (Old) and /work/SRC/openSUSE:Factory/.python-hypercorn.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypercorn" Thu Jul 10 23:15:03 2025 rev:6 rq:1291696 version:0.17.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypercorn/python-hypercorn.changes 2025-03-05 13:39:32.746097393 +0100 +++ /work/SRC/openSUSE:Factory/.python-hypercorn.new.7373/python-hypercorn.changes 2025-07-10 23:15:20.093254987 +0200 @@ -1,0 +2,5 @@ +Thu Jul 10 13:13:00 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypercorn.spec ++++++ --- /var/tmp/diff_new_pack.Tf4jff/_old 2025-07-10 23:15:21.177300143 +0200 +++ /var/tmp/diff_new_pack.Tf4jff/_new 2025-07-10 23:15:21.181300310 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-hypercorn # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-hypercorn Version: 0.17.3 @@ -38,21 +39,21 @@ BuildRequires: %{python_module taskgroup if %python-base < 3.11} BuildRequires: %{python_module trio >= 0.22.0} BuildRequires: %{python_module wsproto >= 0.14.0} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-h11 Requires: python-h2 >= 3.1.0 Requires: python-priority Requires: python-wsproto >= 0.14.0 +BuildArch: noarch %if %{python_version_nodots} < 311 Requires: python-exceptiongroup >= 1.1 Requires: python-taskgroup Requires: python-tomli Requires: python-typing-extensions %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives -BuildArch: noarch %python_subpackages %description @@ -80,11 +81,8 @@ # Broken with new trio %pytest -k 'not test_startup_failure' -%post -%python_install_alternative hypercorn - -%postun -%python_uninstall_alternative hypercorn +%pre +%python_libalternatives_reset_alternative hypercorn %files %{python_files} %doc README.rst