Fix build issues. #5563

This commit is contained in:
Aditya Toshniwal 2022-12-19 11:59:21 +05:30 committed by GitHub
parent 4d95bc0365
commit 8e1b0c459f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,7 @@ FROM env-builder as docs-builder
# Install Sphinx
RUN /venv/bin/python3 -m pip install --no-cache-dir sphinx
RUN /venv/bin/python3 -m pip install --no-cache-dir sphinxcontrib-youtube
# Copy the docs from the local tree. Explicitly remove any existing builds that
# may be present

View File

@ -134,6 +134,7 @@ _build_docs() {
pip3 install --upgrade pip
pip3 install -r "${SOURCE_DIR}/requirements.txt"
pip3 install sphinx
pip3 install sphinxcontrib-youtube
cd "${SOURCE_DIR}" || exit
make docs

View File

@ -40,12 +40,15 @@ yum groupinstall -y "Development Tools"
if [ "${OS_VERSION}" == 7 ]; then
yum install -y expect fakeroot httpd-devel postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3 install sphinx
pip3 install sphinxcontrib-youtube
elif [ "${OS_VERSION}" == 9 ]; then
yum install -y expect postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3 install sphinx
pip3 install sphinxcontrib-youtube
else
yum install -y expect fakeroot postgresql14-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
pip3 install sphinx
pip3 install sphinxcontrib-youtube
fi
# Setup RPM macros for signing