Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-catkin-pkg for openSUSE:Factory checked in at 2025-06-04 20:30:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-catkin-pkg (Old) and /work/SRC/openSUSE:Factory/.python-catkin-pkg.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-catkin-pkg" Wed Jun 4 20:30:05 2025 rev:9 rq:1282805 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-catkin-pkg/python-catkin-pkg.changes 2025-05-20 09:36:13.260518140 +0200 +++ /work/SRC/openSUSE:Factory/.python-catkin-pkg.new.16005/python-catkin-pkg.changes 2025-06-04 20:30:23.485553178 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 14:46:54 UTC 2025 - Nico Krapp <nico.kr...@suse.com> + +- fix usage of libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-catkin-pkg.spec ++++++ --- /var/tmp/diff_new_pack.NesAzI/_old 2025-06-04 20:30:23.989574077 +0200 +++ /var/tmp/diff_new_pack.NesAzI/_new 2025-06-04 20:30:23.993574243 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %define commands create_pkg find_pkg generate_changelog package_version prepare_release tag_changelog test_changelog Name: python-catkin-pkg Version: 1.0.0 @@ -28,14 +29,14 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-docutils Requires: python-pyparsing Requires: python-python-dateutil Requires: python-setuptools -Requires(post): alts -Requires(postun): alts BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module docutils} @@ -50,8 +51,7 @@ Library for retrieving information about catkin packages. %prep -%setup -q -n catkin_pkg-%{version} -%autopatch -p1 +%autosetup -p1 -n catkin_pkg-%{version} %build %pyproject_wheel @@ -68,15 +68,13 @@ # flake8 line length checks failing (E501) %pytest -k 'not test_flake8' -%post +%pre +# If libalternatives is used: Removing old update-alternatives entries. for c in %{commands}; do - %python_install_alternative catkin_$c + %python_libalternatives_reset_alternative catkin_$c done -%postun -for c in %{commands}; do - %python_uninstall_alternative catkin_$c -done +# post and postun macro call is not needed with only libalternatives %files %{python_files} %license LICENSE