Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Automat for openSUSE:Factory checked in at 2025-06-18 15:53:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Automat (Old) and /work/SRC/openSUSE:Factory/.python-Automat.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Automat" Wed Jun 18 15:53:47 2025 rev:11 rq:1286134 version:24.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Automat/python-Automat.changes 2025-04-11 16:45:04.878940930 +0200 +++ /work/SRC/openSUSE:Factory/.python-Automat.new.19631/python-Automat.changes 2025-06-18 15:54:00.670901248 +0200 @@ -1,0 +2,5 @@ +Mon Jun 16 14:24:41 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Automat.spec ++++++ --- /var/tmp/diff_new_pack.ttR6L3/_old 2025-06-18 15:54:01.366930271 +0200 +++ /var/tmp/diff_new_pack.ttR6L3/_new 2025-06-18 15:54:01.370930437 +0200 @@ -24,7 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif - +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-Automat%{psuffix} Version: 24.8.1 @@ -32,16 +32,16 @@ Summary: Self-service finite-state machines for the programmer on the go License: MIT URL: https://github.com/glyph/automat -Source: https://files.pythonhosted.org/packages/source/A/Automat/automat-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/a/automat/automat-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} 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(post): update-alternatives -Requires(preun): update-alternatives Suggests: python-Twisted >= 16.1.1 Suggests: python-graphviz > 0.5.1 BuildArch: noarch @@ -76,11 +76,8 @@ %endif %if !%{with test} -%post -%python_install_alternative automat-visualize - -%postun -%python_uninstall_alternative automat-visualize +%pre +%python_libalternatives_reset_alternative automat-visualize %files %{python_files} %license LICENSE