Rebuild with docs enabled

This commit is contained in:
Sandro Mani 2014-01-05 00:23:23 +01:00
parent 9a3acab484
commit bcbb5e7a0a
2 changed files with 20 additions and 2 deletions

View File

@ -41,6 +41,8 @@ Source0: https://github.com/python-imaging/Pillow/tarball/%{commit}/pytho
Patch0: python-pillow-archs.patch Patch0: python-pillow-archs.patch
# Fix overly-strict test # Fix overly-strict test
Patch1: python-pillow_test-webp.patch 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: python2-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
@ -50,7 +52,7 @@ BuildRequires: python-sphinx
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: lcms-devel BuildRequires: lcms2-devel
BuildRequires: sane-backends-devel BuildRequires: sane-backends-devel
# Don't build with webp support on s390* archs, see bug #962091 (s390*) # Don't build with webp support on s390* archs, see bug #962091 (s390*)
%ifnarch s390 s390x %ifnarch s390 s390x
@ -209,6 +211,7 @@ PIL image wrapper for Qt.
%setup -q -n python-imaging-Pillow-%{shortcommit} %setup -q -n python-imaging-Pillow-%{shortcommit}
%patch0 -p1 -b .archs %patch0 -p1 -b .archs
%patch1 -p1 %patch1 -p1
%patch2 -p1
%if %{with_python3} %if %{with_python3}
# Create Python 3 source tree # Create Python 3 source tree
@ -361,7 +364,8 @@ popd
%changelog %changelog
* Fri Jan 03 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-2 * Fri Jan 03 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-2
- Rebuild with docs enable - Rebuild with docs enabled
- Change lcms BR to lcms2
* Thu Jan 02 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-1 * Thu Jan 02 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-1
- Update to 2.3.0 - Update to 2.3.0

View File

@ -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"