diff --git a/python-sphinx.spec b/python-sphinx.spec index a884fa3..eac02b3 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -3,24 +3,20 @@ # We don't want to support sphinxcontrib-websupport in RHEL, hence disabling the dependency %bcond websupport %{undefined rhel} # Also, we don't have all the tests requirements -%bcond_without tests +%bcond tests 1 # Unset -s on python shebang to allow RPM-installed sphinx to be used # with user-installed modules (#1903763) %undefine _py3_shebang_s # No internet in Koji -%bcond_with internet +%bcond internet 0 -%if 0%{?rhel} > 7 # Build without BuildRequires ImageMagick, to skip imgconverter tests -%bcond_with imagemagick_tests -%else -%bcond_without imagemagick_tests -%endif +%bcond imagemagick_tests %{undefined rhel} # During texlive updates, sometimes the latex environment is unstable -%bcond_without latex_tests +%bcond latex_tests 1 %global upstream_name Sphinx