diff --git a/python-catkin-pkg.changes b/python-catkin-pkg.changes index 5ec2565..51a9aa9 100644 --- a/python-catkin-pkg.changes +++ b/python-catkin-pkg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 13:00:20 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Dec 14 11:16:31 UTC 2023 - pgajdos@suse.com diff --git a/python-catkin-pkg.spec b/python-catkin-pkg.spec index 8c82fc2..5821178 100644 --- a/python-catkin-pkg.spec +++ b/python-catkin-pkg.spec @@ -1,7 +1,7 @@ # # spec file for package python-catkin-pkg # -# Copyright (c) 2023 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 @@ -17,7 +17,6 @@ %define commands create_pkg find_pkg generate_changelog package_version prepare_release tag_changelog test_changelog -%define skip_python2 1 Name: python-catkin-pkg Version: 1.0.0 Release: 0 @@ -25,15 +24,17 @@ Summary: Catkin package library License: BSD-3-Clause URL: https://wiki.ros.org/catkin_pkg Source: https://github.com/ros-infrastructure/catkin_pkg/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils Requires: python-pyparsing Requires: python-python-dateutil Requires: python-setuptools -Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(post): alts +Requires(postun): alts BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module docutils} @@ -52,10 +53,10 @@ Library for retrieving information about catkin packages. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install for c in %{commands}; do %python_clone -a %{buildroot}%{_bindir}/catkin_$c done