From f64064ed555195f28a260446e11a0d9eec11f364 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 10 Jul 2023 23:59:50 -0400 Subject: [PATCH] Remove HTML documentation themes that look bundled --- python-pint.spec | 5 +++++ 1 file changed, 5 insertions(+) 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.