diff --git a/python-pint.spec b/python-pint.spec index c1557a5..d40cffa 100644 --- a/python-pint.spec +++ b/python-pint.spec @@ -50,6 +50,11 @@ sed -i pint/testsuite/test_contexts.py -e 's|self.assertEquals|self.assertEqual| # drop numpy version requirement sed -i '/@helpers.requires_numpy_at_least("1.16")/d' pint/testsuite/test_quantity.py +# We are not sure where this was bundled from, but we are pretty sure it was +# bundled from somewhere! We are not building HTML documentation, so we do not +# need it. +rm -rvf docs/_themes + %generate_buildrequires # We omit the “uncertainties” extra because python-uncertainties is not yet # packaged.