From 48e4e2c5ff9fc355a19314c6a5059ccdc444998a Mon Sep 17 00:00:00 2001 From: Jeremy Newton Date: Wed, 10 Nov 2021 14:03:24 -0500 Subject: [PATCH] Set License field for RPM package This really should be set to conform to distro standards. Signed-off-by: Jeremy Newton Change-Id: I8c3bdcc7eb103cec9db6aa9f9cfec25754784be8 --- runtime/hsa-runtime/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/hsa-runtime/CMakeLists.txt b/runtime/hsa-runtime/CMakeLists.txt index 1b4e3d25c4..25a1599c87 100644 --- a/runtime/hsa-runtime/CMakeLists.txt +++ b/runtime/hsa-runtime/CMakeLists.txt @@ -438,6 +438,7 @@ endif() string ( APPEND CPACK_RPM_PACKAGE_RELEASE "%{?dist}" ) set ( CPACK_RPM_FILE_NAME "RPM-DEFAULT" ) message("CPACK_RPM_PACKAGE_RELEASE: ${CPACK_RPM_PACKAGE_RELEASE}") +set( CPACK_RPM_PACKAGE_LICENSE "NCSA" ) ## Process the Rpm install/remove scripts to update the CPACK variables configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/RPM/Binary/post.in" RPM/Binary/post @ONLY )