cpack: skip changelog on RPM packages
authorMichael Wallner <mike@php.net>
Mon, 14 Dec 2020 12:28:23 +0000 (13:28 +0100)
committerMichael Wallner <mike@php.net>
Mon, 14 Dec 2020 12:28:23 +0000 (13:28 +0100)
rpmbuild is picky with the format of the changelog

CPackRPM.txt

index acde628296a96b766fee7c3b940d542a3d8e59ea..bbb9a32f5ee01d34b1ed5693e40ee0a484206c21 100644 (file)
@@ -2,6 +2,6 @@ set(CPACK_BINARY_RPM ON)
 set(CPACK_RPM_COMPONENT_INSTALL ${CPACK_COMPONENT_INSTALL})
 set(CPACK_RPM_PACKAGE_DEPENDS "${CPACK_PACKAGE_DEPENDS}")
 set(CPACK_RPM_PACKAGE_LICENSE "${CPACK_PACKAGE_LICENSE}")
-set(CPACK_RPM_CHANGELOG_FILE "${CPACK_CHANGELOG_FILE}")
+#set(CPACK_RPM_CHANGELOG_FILE "${CPACK_CHANGELOG_FILE}")
 set(CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION}")
 set(CPACK_RPM_PACKAGE_GROUP "Development/Libraries")