Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-petact for openSUSE:Factory checked in at 2025-06-10 09:08:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-petact (Old) and /work/SRC/openSUSE:Factory/.python-petact.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-petact" Tue Jun 10 09:08:13 2025 rev:5 rq:1284227 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-petact/python-petact.changes 2025-06-03 17:56:17.368447728 +0200 +++ /work/SRC/openSUSE:Factory/.python-petact.new.19631/python-petact.changes 2025-06-10 09:10:29.872364069 +0200 @@ -1,0 +2,5 @@ +Mon Jun 9 14:39:14 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-petact.spec ++++++ --- /var/tmp/diff_new_pack.iZydiN/_old 2025-06-10 09:10:30.372384745 +0200 +++ /var/tmp/diff_new_pack.iZydiN/_new 2025-06-10 09:10:30.376384911 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives Name: python-petact Version: 0.1.2 Release: 0 @@ -28,11 +29,11 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-setuptools -Requires(post): alts -Requires(postun): alts BuildArch: noarch %python_subpackages @@ -58,11 +59,8 @@ %check # no upstream tests -%post -%python_install_alternative petact - -%postun -%python_uninstall_alternative petact +%pre +%python_libalternatives_reset_alternative petact %files %{python_files} %doc README.md