[OpenColorIO/el6] Another fix for the cmake version in EL6.

Richard Shaw hobbes1069 at fedoraproject.org
Fri May 4 19:16:16 UTC 2012


commit fc9b49eb6c3770a61eaa07117f23421acd44eede
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Fri May 4 14:16:14 2012 -0500

    Another fix for the cmake version in EL6.

 OpenColorIO.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/OpenColorIO.spec b/OpenColorIO.spec
index 64c64b7..ce734c0 100644
--- a/OpenColorIO.spec
+++ b/OpenColorIO.spec
@@ -89,7 +89,7 @@ rm -f ext/yaml*
 # Try building for EPEL w/ cmake 2.6.
 %if 0%{?el6}
 sed -i -e 's|cmake_minimum_required(VERSION 2.8)|cmake_minimum_required(VERSION 2.6)|' \
-    -e '|include(ExternalProject)|d' CMakeLists.txt
+    -e '/include(ExternalProject)/d' CMakeLists.txt
 %endif
 
 


More information about the scm-commits mailing list