Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pbr for openSUSE:Factory checked in at 2025-07-20 15:28:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pbr (Old) and /work/SRC/openSUSE:Factory/.python-pbr.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pbr" Sun Jul 20 15:28:45 2025 rev:72 rq:1294154 version:6.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pbr/python-pbr.changes 2025-02-12 21:30:48.832466796 +0100 +++ /work/SRC/openSUSE:Factory/.python-pbr.new.8875/python-pbr.changes 2025-07-20 15:29:42.445647056 +0200 @@ -1,0 +2,5 @@ +Thu Jul 17 12:12:02 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pbr.spec ++++++ --- /var/tmp/diff_new_pack.kjS6Oq/_old 2025-07-20 15:29:43.017670727 +0200 +++ /var/tmp/diff_new_pack.kjS6Oq/_new 2025-07-20 15:29:43.021670892 +0200 @@ -16,7 +16,6 @@ # -%{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,6 +24,8 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without libalternatives +%{?sle15_python_module_pythons} Name: python-pbr%{psuffix} Version: 6.1.1 Release: 0 @@ -35,11 +36,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 >= 64.0.0 -Requires(post): update-alternatives -Requires(postun): update-alternatives Recommends: git-core Obsoletes: python-pbr-doc BuildArch: noarch @@ -102,11 +103,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} -%post -%python_install_alternative pbr - -%postun -%python_uninstall_alternative pbr +%pre +%python_libalternatives_reset_alternative pbr %files %{python_files} %license LICENSE