Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-check-manifest for openSUSE:Factory checked in at 2025-06-26 11:39:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-check-manifest (Old) and /work/SRC/openSUSE:Factory/.python-check-manifest.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-check-manifest" Thu Jun 26 11:39:26 2025 rev:22 rq:1288542 version:0.50 Changes: -------- --- /work/SRC/openSUSE:Factory/python-check-manifest/python-check-manifest.changes 2024-12-11 21:09:28.221825466 +0100 +++ /work/SRC/openSUSE:Factory/.python-check-manifest.new.7067/python-check-manifest.changes 2025-06-26 11:40:40.357142007 +0200 @@ -1,0 +2,5 @@ +Wed Jun 25 12:54:54 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-check-manifest.spec ++++++ --- /var/tmp/diff_new_pack.JBA3dR/_old 2025-06-26 11:40:41.077171876 +0200 +++ /var/tmp/diff_new_pack.JBA3dR/_new 2025-06-26 11:40:41.081172042 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-check-manifest # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-check-manifest%{psuffix} Version: 0.50 @@ -37,15 +38,12 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-build >= 0.1 Requires: python-setuptools -%if 0%{?python_version_nodots} < 311 -Requires: python-tomli -%endif -Requires(post): update-alternatives -Requires(postun): update-alternatives Recommends: git-core > 2.11 Recommends: python-pip Recommends: python-wheel @@ -53,6 +51,9 @@ Suggests: mercurial Suggests: subversion BuildArch: noarch +%if 0%{?python_version_nodots} < 311 +Requires: python-tomli +%endif %if %{with test} BuildRequires: %{python_module check-manifest = %{version}} BuildRequires: %{python_module pytest} @@ -96,11 +97,8 @@ %endif %if !%{with test} -%post -%python_install_alternative check-manifest - -%postun -%python_uninstall_alternative check-manifest +%pre +%python_libalternatives_reset_alternative check-manifest %files %{python_files} %doc CHANGES.rst README.rst