From a5633ae8363c8f5dcefc75f7c1fc1eaffbe98b0d Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Tue, 13 May 2014 12:29:41 +0200 Subject: [PATCH] Set with_docs to 1 to build docs. --- python-pillow.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index f7e9d06..4af13d1 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -6,7 +6,7 @@ %global name3 python3-pillow # bootstrap building docs (pillow is required by docutils, docutils are # required by sphinx; pillow build-requires sphinx) -%global with_docs 0 +%global with_docs 1 # RHEL-7 doesn't have python 3 %if 0%{?rhel} == 7 @@ -28,7 +28,7 @@ Name: python-pillow Version: 2.4.0 -Release: 5%{?snap}%{?dist} +Release: 6%{?snap}%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -332,7 +332,7 @@ popd %files doc %doc Scripts Images %if 0%{?with_docs} -docs/_build/html +%doc docs/_build/html %endif # with_docs %files sane @@ -382,6 +382,9 @@ docs/_build/html %endif %changelog +* Tue May 13 2014 Bohuslav Kabrda - 2.4.0-6 +- Set with_docs to 1 to build docs. + * Tue May 13 2014 Bohuslav Kabrda - 2.4.0-5 - Bootstrap building sphinx docs because of circular dependency with sphinx.