diff --git a/python-marshmallow.spec b/python-marshmallow.spec index 2c46fcc..b2361ee 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -71,16 +71,20 @@ sed -i -e "/donate_url/d" docs/conf.py sed '/"autodocsumm",/d' docs/conf.py sed '/"autodocsumm==/d' pyproject.toml +%generate_buildrequires +%pyproject_buildrequires -x docs,tests + %build -%py3_build +%pyproject_wheel sphinx-build -b html docs html %install -%py3_install +%pyproject_install rm -rf html/{.buildinfo,.doctrees} %check +%pyproject_check_import py.test-%{python3_version} -v