diff --git a/python-cli-helpers.changes b/python-cli-helpers.changes index 0230af7..2e0b077 100644 --- a/python-cli-helpers.changes +++ b/python-cli-helpers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 13:08:11 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Mar 18 10:46:13 UTC 2024 - Dirk Müller diff --git a/python-cli-helpers.spec b/python-cli-helpers.spec index be2fb07..3622135 100644 --- a/python-cli-helpers.spec +++ b/python-cli-helpers.spec @@ -1,7 +1,7 @@ # # spec file for package python-cli-helpers # -# 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 @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-cli-helpers Version: 2.3.1 Release: 0 @@ -25,7 +23,9 @@ Summary: Helpers for building command-line apps License: BSD-3-Clause URL: https://github.com/dbcli/cli_helpers Source: https://files.pythonhosted.org/packages/source/c/cli_helpers/cli_helpers-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pygments >= 2.4 @@ -68,10 +68,10 @@ other libraries. %setup -q -n cli_helpers-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -80,6 +80,7 @@ other libraries. %files %{python_files} %license LICENSE %doc README.rst AUTHORS CHANGELOG docs -%{python_sitelib}/* +%{python_sitelib}/cli[-_]helpers +%{python_sitelib}/cli[-_]helpers-%{version}*-info %changelog