summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2010-07-04 10:27:47 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2010-07-04 10:27:47 (GMT)
commitc29cf0e1d2df04c2b2c85adc872b75769cc5c14c (patch)
tree59b5e3acfc6ceb389de362fbd15569298593db90 /Modules/CPackRPM.cmake
parentdbe7525c6e623c3be1dad7dae5948e71b5ac2b6b (diff)
downloadCMake-c29cf0e1d2df04c2b2c85adc872b75769cc5c14c.zip
CMake-c29cf0e1d2df04c2b2c85adc872b75769cc5c14c.tar.gz
CMake-c29cf0e1d2df04c2b2c85adc872b75769cc5c14c.tar.bz2
Provides default changelog if no file is provided
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index 4a14109..7dbc97f 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -392,6 +392,8 @@ if(CPACK_RPM_CHANGELOG_FILE)
else(EXISTS ${CPACK_RPM_CHANGELOG_FILE})
message(SEND_ERROR "CPackRPM:Warning: CPACK_RPM_CHANGELOG_FILE <${CPACK_RPM_CHANGELOG_FILE}> does not exists - ignoring")
endif(EXISTS ${CPACK_RPM_CHANGELOG_FILE})
+else(CPACK_RPM_CHANGELOG_FILE)
+ set(CPACK_RPM_SPEC_CHANGELOG "* Sun Jul 4 2010 Erk <eric.noulard@gmail.com>\n Generated by CPack RPM (no Changelog file were provided)")
endif(CPACK_RPM_CHANGELOG_FILE)
# CPACK_RPM_SPEC_MORE_DEFINE