From cb4fb9bcbfd73df1dccc583560a124a4059dfdee Mon Sep 17 00:00:00 2001 From: Liam Wrubleski Date: Mon, 24 Jan 2022 15:35:34 -0700 Subject: [PATCH] Hotfix: Set RPM license type (#81) * set RPM license type * Update copyright year in LICENSE.md --- LICENSE.md | 2 +- library/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 28830ce9..09f43d43 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright 2020 Advanced Micro Devices, Inc. +Copyright 2020-2022 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index f63298a1..271ea194 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -1,5 +1,5 @@ # ######################################################################## -# Copyright 2016-2021 Advanced Micro Devices, Inc. +# Copyright 2016-2022 Advanced Micro Devices, Inc. # ######################################################################## # This is incremented when the ABI to the library changes @@ -70,6 +70,7 @@ if( NOT USE_CUDA ) endif( ) set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.md" ) +set( CPACK_RPM_PACKAGE_LICENSE "MIT" ) if(WIN32) set(CPACK_SOURCE_GENERATOR "ZIP")