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