[cmake-developers] [PATCH] CPackRPM Module: output RPMBUILDOUT when intended
Thomas Orozco
thomas at orozco.fr
Mon May 4 17:59:40 EDT 2015
In debug mode, CPackRPM outputs RPMBUILDERR twice, instead of
RPMBUILDERR and RPMBUILDOUT.
The following (and attached) patch outputs RPMBUILDERR and RPMBUILDOUT
as advertised:
---
Modules/CPackRPM.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index fdba90e..e672e72 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -1686,7 +1686,7 @@ mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\"
$RPM_BUILD_ROOT
message("CPackRPM:Debug: -
${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.err")
message("CPackRPM:Debug: *** ${RPMBUILDERR} ***")
message("CPackRPM:Debug: -
${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.out")
- message("CPackRPM:Debug: *** ${RPMBUILDERR} ***")
+ message("CPackRPM:Debug: *** ${RPMBUILDOUT} ***")
endif()
else()
if(ALIEN_EXECUTABLE)
--
2.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CPackRPM-Module-output-RPMBUILDOUT-when-intended.patch
Type: application/octet-stream
Size: 1002 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150504/79212d48/attachment.obj>
More information about the cmake-developers
mailing list