From bcbb5e7a0a5e3c8dffd913c3a741494e7616018b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 5 Jan 2014 00:23:23 +0100 Subject: [PATCH] Rebuild with docs enabled --- python-pillow.spec | 8 ++++++-- python-pillow_help-theme.patch | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 python-pillow_help-theme.patch diff --git a/python-pillow.spec b/python-pillow.spec index 6198190..7a4e8d0 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -41,6 +41,8 @@ Source0: https://github.com/python-imaging/Pillow/tarball/%{commit}/pytho Patch0: python-pillow-archs.patch # Fix overly-strict test Patch1: python-pillow_test-webp.patch +# Use default help theme until python-sphinx-theme-better is reviewed +Patch2: python-pillow_help-theme.patch BuildRequires: python2-devel BuildRequires: python-setuptools @@ -50,7 +52,7 @@ BuildRequires: python-sphinx BuildRequires: libjpeg-devel BuildRequires: zlib-devel BuildRequires: freetype-devel -BuildRequires: lcms-devel +BuildRequires: lcms2-devel BuildRequires: sane-backends-devel # Don't build with webp support on s390* archs, see bug #962091 (s390*) %ifnarch s390 s390x @@ -209,6 +211,7 @@ PIL image wrapper for Qt. %setup -q -n python-imaging-Pillow-%{shortcommit} %patch0 -p1 -b .archs %patch1 -p1 +%patch2 -p1 %if %{with_python3} # Create Python 3 source tree @@ -361,7 +364,8 @@ popd %changelog * Fri Jan 03 2014 Sandro Mani - 2.3.0-2 -- Rebuild with docs enable +- Rebuild with docs enabled +- Change lcms BR to lcms2 * Thu Jan 02 2014 Sandro Mani - 2.3.0-1 - Update to 2.3.0 diff --git a/python-pillow_help-theme.patch b/python-pillow_help-theme.patch new file mode 100644 index 0000000..d6e32a3 --- /dev/null +++ b/python-pillow_help-theme.patch @@ -0,0 +1,14 @@ +diff -rupN python-imaging-Pillow-b1b88cf/docs/conf.py python-imaging-Pillow-b1b88cf-new/docs/conf.py +--- python-imaging-Pillow-b1b88cf/docs/conf.py 2014-01-01 22:10:13.000000000 +0100 ++++ python-imaging-Pillow-b1b88cf-new/docs/conf.py 2014-01-04 23:31:13.923990503 +0100 +@@ -35,9 +35,7 @@ pygments_style = 'sphinx' + + ### HTML output ### + +-from better import better_theme_path +-html_theme_path = [better_theme_path] +-html_theme = 'better' ++html_theme = 'default' + + html_title = "Pillow v{release} (PIL fork)".format(release=release) + html_short_title = "Home"