diff --git a/python-sphinx.spec b/python-sphinx.spec index 26ef433..0b6c8dd 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -15,6 +15,8 @@ %bcond_without imagemagick_tests %endif +# During texlive updates, sometimes the latex environment is unstable +%bcond_with latex_tests %global upstream_name Sphinx @@ -87,6 +89,7 @@ BuildRequires: texinfo BuildRequires: ImageMagick %endif +%if %{with latex_tests} BuildRequires: texlive-collection-fontsrecommended BuildRequires: texlive-collection-latex BuildRequires: texlive-dvipng @@ -117,6 +120,7 @@ BuildRequires: tex(upquote.sty) BuildRequires: tex(utf8x.def) BuildRequires: tex(wrapfig.sty) %endif +%endif %description