Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-argparse-manpage for openSUSE:Factory checked in at 2025-08-12 17:03:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-argparse-manpage (Old) and /work/SRC/openSUSE:Factory/.python-argparse-manpage.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-argparse-manpage" Tue Aug 12 17:03:23 2025 rev:19 rq:1298793 version:4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-argparse-manpage/python-argparse-manpage.changes 2025-06-18 15:53:59.466851041 +0200 +++ /work/SRC/openSUSE:Factory/.python-argparse-manpage.new.1085/python-argparse-manpage.changes 2025-08-12 17:04:20.498678015 +0200 @@ -1,0 +2,5 @@ +Mon Aug 11 11:28:09 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Make the libalternatives transition conditional + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-argparse-manpage.spec ++++++ --- /var/tmp/diff_new_pack.X6pI1v/_old 2025-08-12 17:04:21.366714188 +0200 +++ /var/tmp/diff_new_pack.X6pI1v/_new 2025-08-12 17:04:21.366714188 +0200 @@ -17,7 +17,11 @@ %define mod_name argparse-manpage +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif Name: python-argparse-manpage Version: 4.6 Release: 0 @@ -29,11 +33,16 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools-wheel} BuildRequires: %{python_module setuptools} -BuildRequires: alts BuildRequires: ca-certificates BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} Requires: alts +BuildRequires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif BuildArch: noarch %if 0%{python_version_nodots} < 311 Requires: python-tomli @@ -69,6 +78,12 @@ %pre %python_libalternatives_reset_alternative argparse-manpage +%post +%python_install_alternative argparse-manpage argparse-manpage.1 + +%postun +%python_uninstall_alternative argparse-manpage + %files %{python_files} %doc README.md %license LICENSE