diff --git a/python-re-assert.spec b/python-re-assert.spec index aa262fc..8f840dd 100644 --- a/python-re-assert.spec +++ b/python-re-assert.spec @@ -8,9 +8,10 @@ License: MIT URL: https://github.com/asottile/re-assert Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz -BuildArch: noarch +BuildSystem: pyproject +BuildOption(install): -l re_assert -BuildRequires: python3-devel +BuildArch: noarch BuildRequires: %{py3_dist pytest} @@ -26,24 +27,7 @@ Summary: %{summary} %description -n python3-re-assert %{common_description} -%prep -%autosetup -n re-assert-%{version} -p1 - - -%generate_buildrequires -%pyproject_buildrequires - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files -l re_assert - - -%check +%check -a %pytest