diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes index 219695e..4cbd585 100644 --- a/python-setuptools-git.changes +++ b/python-setuptools-git.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 10:48:37 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue May 9 13:37:45 UTC 2023 - Johannes Kastl diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec index 8b7f798..b744126 100644 --- a/python-setuptools-git.spec +++ b/python-setuptools-git.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-git # -# 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 @@ -25,7 +25,9 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/wichert/setuptools-git Source: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: git-core BuildRequires: python-rpm-macros BuildArch: noarch @@ -45,10 +47,10 @@ uniform naming convention. %setup -q -n setuptools-git-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check export LANG=en_US.UTF-8 @@ -60,6 +62,7 @@ git config --global user.name "test" %files %{python_files} %license LICENSE.txt %doc AUTHORS.txt README.rst TODO.txt -%{python_sitelib}/* +%{python_sitelib}/setuptools[-_]git +%{python_sitelib}/setuptools[-_]git-%{version}*-info %changelog