Add patch to fix build and another for #1589868

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-07-05 16:49:09 +02:00
commit 10b412f00c
3 changed files with 60 additions and 1 deletions

View file

@ -27,7 +27,7 @@
Name: python-sphinx
Version: 1.7.5
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
Summary: Python documentation generator
@ -54,6 +54,12 @@ Source6: default-sphinx-command.in
# to fetch images, which is not possible in koji or mock.
Patch0: xfail-test_latex_remote_images.patch
# Allow extra themes to exist. We pull in python[23]-sphinx-theme-alabaster
# which causes that test to fail.
Patch1: sphinx-test_theming.diff
Patch2: https://github.com/sphinx-doc/sphinx/commit/b553c23ab1cadfe75db6637ca95daa11abc87049.patch
BuildArch: noarch
BuildRequires: python2-devel >= 2.4
BuildRequires: python2-babel
@ -618,6 +624,10 @@ popd
%changelog
* Thu Jul 5 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.5-5
- Add patch to fix build if alabaster theme is installed
- Add patch for #1589868
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-4
- Enable tests