diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 443bf94..55eedc6 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -12,7 +12,7 @@ original structure is left untouched.} Name: python-%{srcname} Summary: Persistent/Functional/Immutable data structures Version: 0.17.3 -Release: 4%{?dist} +Release: 5%{?dist} # The entire source is MIT, except pyrsistent/_toolz.py which is BSD. License: MIT and BSD @@ -96,7 +96,11 @@ BuildArch: noarch %build %py3_build -%make_build -C docs html SPHINXOPTS='--keep-going' + +# Default SPHINXOPTS are '-W -n', but -W turns warnings into errors and there +# are some warnings. We want to build the documentation as best we can anyway. +# Additionally, we parallelize sphinx-build. +%make_build -C docs html SPHINXOPTS='-n %{?_smp_mflags}' rm -f docs/build/html/.buildinfo @@ -128,6 +132,9 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname} %changelog +* Fri Feb 19 2021 Benjamin A. Beasley - 0.17.3-5 +- Parallelize Sphinx documentation build + * Fri Feb 19 2021 Benjamin A. Beasley - 0.17.3-4 - Use the GitHub tarball instead of the PyPI tarball - Switch URL to HTTPS