Fix inverted bootstrap conditions.

This commit is contained in:
Elliott Sales de Andrade 2019-07-23 02:43:50 -04:00
parent 418969d1cd
commit c3b3086fd5

View File

@ -40,7 +40,7 @@ BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pyyaml)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(toolz) >= 0.7.3
%if %{with bootstrap}
%if %{without bootstrap}
BuildRequires: python3dist(distributed) >= 2
%endif
@ -128,7 +128,7 @@ feature.
Dask is a flexible parallel computing library for analytics.
%if %{with bootstrap}
%if %{without bootstrap}
%package -n python-%{srcname}-doc
Summary: dask documentation
@ -151,7 +151,7 @@ rm -rf %{srcname}.egg-info
%build
%py3_build
%if %{with bootstrap}
%if %{without bootstrap}
# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs/source html
# remove the sphinx-build leftovers
@ -180,7 +180,7 @@ PYTHONDONTWRITEBYTECODE=1 \
%files -n python3-%{srcname}+delayed
%files -n python3-%{srcname}+distributed
%if %{with bootstrap}
%if %{without bootstrap}
%files -n python-%{srcname}-doc
%doc html
%license LICENSE.txt