Re: [CMake] Building cmake-3.0.0 rpm on CentOS 7.0 using cmake/cpack

2014-07-29 Thread Zack Perry
Please ignore the post.  I found out what's wrong - human error :( I forgot to copy the modified CPackRPM.cmake to cmake's system Modules subdirectory. Problem solved.-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ K

[CMake] Building cmake-3.0.0 rpm on CentOS 7.0 using cmake/cpack

2014-07-29 Thread Zack Perry
RHEL 7.0 (and its free rebuilds, e.g. CentOS 7.0) is bundled with newer rpm which rigorously checks whether a package declare system directories or not. If a package does, then it would issue an error like what's shown below: Transaction check error: file /usr from install of cmake-3.0.0-1.x86_6