Rename the changelog.txt file to changelog.
This commit is contained in:
parent
79c44c5e0e
commit
fe1cf70770
|
@ -89,7 +89,7 @@ if (UNIX AND NOT MINGW)
|
||||||
set(CPACK_RPM_COMPRESSION_TYPE lzma)
|
set(CPACK_RPM_COMPRESSION_TYPE lzma)
|
||||||
set(CPACK_RPM_PACKAGE_AUTOREQ YES)
|
set(CPACK_RPM_PACKAGE_AUTOREQ YES)
|
||||||
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
||||||
set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt")
|
set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/changelog")
|
||||||
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
|
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||||
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
|
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
|
||||||
set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
|
set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
|
||||||
|
@ -100,7 +100,7 @@ if (UNIX AND NOT MINGW)
|
||||||
install(DIRECTORY src DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
install(DIRECTORY src DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
||||||
install(DIRECTORY resources DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
install(DIRECTORY resources DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
||||||
install(DIRECTORY scripts DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
install(DIRECTORY scripts DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
||||||
install(FILES CMakeLists.txt misc/desc.txt LICENSE.txt README.md changelog.txt DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
install(FILES CMakeLists.txt misc/desc.txt LICENSE.txt README.md changelog DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX})
|
||||||
else()
|
else()
|
||||||
if (NOT DEFINED CPACK_GENERATOR)
|
if (NOT DEFINED CPACK_GENERATOR)
|
||||||
set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB)
|
set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB)
|
||||||
|
|
Loading…
Reference in New Issue