Disable docs in flatpak builds

As of F39, flatpak builds will not be able to manually override macros.
This commit is contained in:
Yaakov Selkowitz 2023-08-01 02:55:56 -04:00
parent 05480f2acc
commit fc015d1bcf

View File

@ -10,7 +10,7 @@ Source0: %{pypi_source %srcname}
# Enable building without docs to avoid a circular dependency between this
# and python-sphinx:
%if 0%{?rhel}
%if 0%{?rhel} || 0%{?flatpak}
%bcond_with docs
%else
%bcond_without docs