diff --git a/python-pathspec.spec b/python-pathspec.spec index b2a3b8f..9d5deb2 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -9,7 +9,6 @@ Source0: %{pypi_source pathspec} BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-setuptools BuildRequires: python3-pytest @@ -32,23 +31,26 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. %autosetup -n pathspec-%{version} +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files pathspec %check %pytest -%files -n python3-pathspec +%files -n python3-pathspec -f %{pyproject_files} %doc README.rst %license LICENSE -%{python3_sitelib}/pathspec -%{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog