Specifying a user binary specfile for CPack RPM packages is done like this:

set(CPACK_RPM_blah_USER_BINARY_SPECFILE blah.spec.in)

The documentation says the "specified file will be processed by
configure_file( @ONLY)." However, exactly which variables are available for
substitution? Is there a list somewhere? It appears to be only CPACK_XXX
variables but I'm wondering why there is such a limitation and if it is
possible to change or circumvent this limitation? For now I'm stuck doing
something nasty (and not component-specific) like add "%define" variables
using CPACK_RPM_SPEC_MORE_DEFINE.

Thanks,
Andy
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to