diff --git a/python-flask-healthz.spec b/python-flask-healthz.spec index 40029c5..f2066b9 100644 --- a/python-flask-healthz.spec +++ b/python-flask-healthz.spec @@ -33,23 +33,28 @@ that can be used as liveness and readiness probes. %autosetup -n %{srcname}-%{version} -p1 +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{srcname} -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md -%{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ + %changelog * Tue Feb 06 2024 Aurelien Bompard - 1.0.1-1 - Version 1.0.1 +- Use modern python macros * Fri Jan 26 2024 Fedora Release Engineering - 0.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild