[OpenColorIO/el6] Disable docs buliding for EL6.

Richard Shaw hobbes1069 at fedoraproject.org
Fri Apr 27 13:25:31 UTC 2012


commit 3d2b94d172f3d5a3c6d779f810dcc80322aefd50
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Fri Apr 27 08:25:09 2012 -0500

    Disable docs buliding for EL6.

 OpenColorIO.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/OpenColorIO.spec b/OpenColorIO.spec
index 0c4f760..9ec2a10 100644
--- a/OpenColorIO.spec
+++ b/OpenColorIO.spec
@@ -91,7 +91,11 @@ rm -f ext/yaml*
 rm -rf build && mkdir build && pushd build
 %cmake -DOCIO_BUILD_STATIC=OFF \
        -DPYTHON_INCLUDE_LIB_PREFIX=OFF \
+%if 0%{?el6}
+       -DOCIO_BUILD_DOCS=OFF \
+%else
        -DOCIO_BUILD_DOCS=ON \
+%endif
        -DOCIO_BUILD_TESTS=ON \
        -DOCIO_LINK_PYGLUE=ON \
        -DOCIO_PYGLUE_SONAME=OFF \


More information about the scm-commits mailing list