Modernize %bconds
This commit is contained in:
parent
0896827c70
commit
f907d7218a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user