diff --git a/python-resolvelib.spec b/python-resolvelib.spec index 0521927..8d0e9bc 100644 --- a/python-resolvelib.spec +++ b/python-resolvelib.spec @@ -12,7 +12,6 @@ Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) %global _description %{expand: ResolveLib at the highest level provides a Resolver class that @@ -34,17 +33,24 @@ Summary: %{summary} %prep %autosetup -n %{pypi_name}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel + %install -%py3_install +%pyproject_install +%pyproject_save_files %{pypi_name} -%files -n python3-%{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst -%{python3_sitelib}/%{pypi_name} -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + %changelog * Fri Oct 20 2023 Maxwell G - 1.0.1-1