[pcl/el6] Fix sphinx documentation generation on el6

rmattes rmattes at fedoraproject.org
Tue Oct 16 01:54:05 UTC 2012


commit eb6d255e04c49103e9fcbf8edbf09dd9847a90fe
Author: Rich Mattes <richmattes at gmail.com>
Date:   Mon Oct 15 19:56:47 2012 -0400

    Fix sphinx documentation generation on el6

 pcl.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/pcl.spec b/pcl.spec
index 7708c17..2c48bad 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -86,6 +86,12 @@ Library.
 
 # Just to make it obvious we're not using any of these
 rm -rf  3rdparty
+# python-pygments doesn't contain a cmake lexer in rhel6 (need 1.2 or higher)
+# "lisp" keyword not supported either, use common-lisp instead
+%if 0%{?rhel}
+  sed -i 's/: cmake/: bash/g' doc/tutorials/content/*.rst doc/advanced/content/*.rst
+  sed -i 's/: lisp/: common-lisp/g' doc/advanced/content/*.rst
+%endif
 
 
 %build
@@ -201,6 +207,7 @@ rm -rf $RPM_BUILD_ROOT
 * Sun Oct 14 2012 Rich Mattes <richmattes at gmail.com> - 1.6.0-2
 - Use cmake28 on el6
 - Disable openni on el6 for now
+- Fix documentation generation
 
 * Tue Sep 25 2012 Rich Mattes <richmattes at gmail.com> - 1.6.0-2
 - Disabled march=native flag in PCLConfig.cmake


More information about the scm-commits mailing list