diff --git a/python-eventlet.spec b/python-eventlet.spec index d3c3fef..7536cc2 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -28,6 +28,7 @@ BuildRequires: python3-pyOpenSSL %package -n python3-%{srcname}-doc Summary: Documentation for python3-%{srcname} +BuildRequires: make BuildRequires: python3-sphinx BuildRequires: python3-zmq @@ -42,11 +43,7 @@ BuildRequires: python3-zmq %build %pyproject_wheel - -# Disable setting up dns (we have no /etc/resolv.conf in mock -export EVENTLET_NO_GREENDNS=yes -export PYTHONPATH=$(pwd) -sphinx-build-%{python3_version} -b html -d doctrees doc html-3 +%make_build -C doc html %install %pyproject_install @@ -63,11 +60,12 @@ nosetests-%{python3_version} -v -e greendns_test -e socket_test -e test_patcher_ %files -n python3-%{srcname}-doc %license LICENSE -%doc html-3 +%doc doc/_build/html %changelog * Tue Jul 26 2022 Carl George - 0.33.1-4 - Convert to pyproject macros +- Build docs with make * Fri Jul 22 2022 Fedora Release Engineering - 0.33.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild