From aa5c4d0535b5f5c0eeffec7c13b90392e254bd18 Mon Sep 17 00:00:00 2001 From: Benjamin Pereto Date: Jul 30 2017 08:36:33 +0000 Subject: FIX: dump sphinx_rtd_theme dependency --- diff --git a/borgbackup.spec b/borgbackup.spec index 7fbd888..6d00949 100644 --- a/borgbackup.spec +++ b/borgbackup.spec @@ -27,10 +27,8 @@ BuildRequires: python%{python3_pkgversion}-msgpack >= 0.4.6 # pyton3-sphinx packages are not available in epel # so we use the old python2 BuildRequires: python-sphinx -BuildRequires: python-sphinx_rtd_theme %else BuildRequires: python%{python3_pkgversion}-sphinx -BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme %endif # no python deps @@ -64,6 +62,8 @@ rm -rf %{srcname}.egg-info %{__python3} setup.py build_ext --inplace # manpage +# workaround to dump sphinx_rtd_theme dependency - not needed for manpages +export READTHEDOCS=True %{__python3} setup.py build_usage