Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hypothesis for
openSUSE:Factory checked in at 2025-07-10 23:15:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old)
and /work/SRC/openSUSE:Factory/.python-hypothesis.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesis"
Thu Jul 10 23:15:05 2025 rev:85 rq:1291700 version:6.127.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes
2025-04-30 19:02:29.837610900 +0200
+++
/work/SRC/openSUSE:Factory/.python-hypothesis.new.7373/python-hypothesis.changes
2025-07-10 23:15:21.557315973 +0200
@@ -1,0 +2,5 @@
+Thu Jul 10 13:17:31 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hypothesis.spec ++++++
--- /var/tmp/diff_new_pack.VCtx0j/_old 2025-07-10 23:15:22.197342635 +0200
+++ /var/tmp/diff_new_pack.VCtx0j/_new 2025-07-10 23:15:22.197342635 +0200
@@ -24,6 +24,7 @@
%bcond_without complete_tests
%endif
%bcond_with ringdisabled
+%bcond_without libalternatives
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
@@ -52,13 +53,13 @@
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: python-attrs >= 19.2.0
Requires: (python-exceptiongroup >= 1.0.0 if python-base < 3.11)
Requires: (python-sortedcontainers >= 2.1.0 with python-sortedcontainers
< 3.0)
-Requires(post): update-alternatives
-Requires(preun): update-alternatives
BuildArch: noarch
# SECTION requires_extra
Recommends: (python-importlib_metadata >= 3.6 if python-base < 3.8)
@@ -138,11 +139,8 @@
%python_clone -a %{buildroot}%{_bindir}/hypothesis
%endif
-%post
-%python_install_alternative hypothesis
-
-%postun
-%python_uninstall_alternative hypothesis
+%pre
+%python_libalternatives_reset_alternative hypothesis
%check
%if %{with test}