Disable docs buliding for EL6.

This commit is contained in:
Richard M. Shaw 2012-04-27 08:25:09 -05:00
parent fe42490a35
commit 3d2b94d172
1 changed files with 4 additions and 0 deletions

View File

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