This patch series extends CPackRPM to support cross-built rpms Previously only native and "noarch" rpms were possible. Other architecture choices resulted in an error from rpmbuild. Also included at no extra charge, is component support through CPACK_RPM_<component>_PACKAGE_ARCHITECTURE, and unit tests for component architecture.
Improvements suggested by Rolf Eike Beer: Drop WORKING_DIRECTORY and add OUTPUT_STRIP_TRAILING_WHITESPACE to uname command. Improvements suggested by Domen Vrankar: Add component support Add unit tests Joshua A Clayton (3): CPackRPM: Fix CPACK_RPM_PACKAGE_ARCHITECTURE CPackRPM: Support rpm architecture in components Tests: CpackRPM test component architecture Modules/CPackRPM.cmake | 33 ++++++++++++++++++---- .../MyLibCPackConfig-IgnoreGroup.cmake.in | 6 ++++ .../RunCPackVerifyResult.cmake | 8 ++++++ 3 files changed, 41 insertions(+), 6 deletions(-) -- 2.2.2 -- 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-developers