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-06-18 15:53:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-argparse-manpage (Old) and /work/SRC/openSUSE:Factory/.python-argparse-manpage.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-argparse-manpage" Wed Jun 18 15:53:46 2025 rev:18 rq:1286127 version:4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-argparse-manpage/python-argparse-manpage.changes 2025-04-11 16:45:06.731018829 +0200 +++ /work/SRC/openSUSE:Factory/.python-argparse-manpage.new.19631/python-argparse-manpage.changes 2025-06-18 15:53:59.466851041 +0200 @@ -1,0 +2,5 @@ +Mon Jun 16 13:49:16 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-argparse-manpage.spec ++++++ --- /var/tmp/diff_new_pack.YCWHFO/_old 2025-06-18 15:54:00.014873893 +0200 +++ /var/tmp/diff_new_pack.YCWHFO/_new 2025-06-18 15:54:00.018874059 +0200 @@ -17,6 +17,7 @@ %define mod_name argparse-manpage +%bcond_without libalternatives Name: python-argparse-manpage Version: 4.6 Release: 0 @@ -24,19 +25,19 @@ License: Apache-2.0 URL: https://github.com/praiskup/argparse-manpage Source: https://github.com/praiskup/argparse-manpage/archive/v%{version}.tar.gz -BuildArch: noarch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools-wheel} BuildRequires: %{python_module setuptools} +BuildRequires: alts BuildRequires: ca-certificates BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts +BuildArch: noarch %if 0%{python_version_nodots} < 311 Requires: python-tomli %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives %python_subpackages %description @@ -62,14 +63,11 @@ %check export PIP_NO_INDEX=1 -export PIP_FIND_LINKS=$(ls -1 /usr/lib/python3.*/wheels | head -n 1) +export PIP_FIND_LINKS=$(ls -1 %{_prefix}/lib/python3.*/wheels | head -n 1) %pytest -k 'not test_old_example_file_name' -%post -%{python_install_alternative argparse-manpage argparse-manpage.1} - -%postun -%python_uninstall_alternative argparse-manpage +%pre +%python_libalternatives_reset_alternative argparse-manpage %files %{python_files} %doc README.md