diff --git a/python-columnize.changes b/python-columnize.changes index ef5f2ea..2b4473a 100644 --- a/python-columnize.changes +++ b/python-columnize.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 16 10:02:04 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Mar 12 09:14:09 UTC 2022 - Matej Cepl diff --git a/python-columnize.spec b/python-columnize.spec index e157033..97f5779 100644 --- a/python-columnize.spec +++ b/python-columnize.spec @@ -1,7 +1,7 @@ # # spec file for package python-columnize # -# Copyright (c) 2022 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,24 +17,23 @@ %define modname columnize -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-columnize Version: 0.3.11 Release: 0 -License: MIT Summary: Format a simple (i.e. not nested) list into aligned columns -URL: https://github.com/rocky/pycolumnize +License: MIT Group: Development/Languages/Python +URL: https://github.com/rocky/pycolumnize Source0: https://files.pythonhosted.org/packages/source/c/columnize/columnize-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION For tests BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -BuildArch: noarch - %python_subpackages %description @@ -44,10 +43,10 @@ Format a simple (i.e. not nested) list into aligned columns. %autosetup -p1 -n columnize-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check