Adapting to rocm_smi_lib changes

The name of rocm-smi-lib64 has been changed to rocm-smi-lib
Hence updating the requisite name here for resolving installation dependency

Depends-On:  Ib37d29aedc20b610619f6921f4147b41c0eaf134
Change-Id: I4efd778b72d43ad8f0842410a94ac1e3d3b9192a
This commit is contained in:
Ashutosh Mishra authored and Ashutosh Mishra committed 2020-12-10 11:05:20 -05:00
1 vanhempi 9bf6e630d6
commit 0054349862
1 file changed
+2 -2
+2 -2
Näytä tiedosto
@@ -235,7 +235,7 @@ set ( CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT" )
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/postinst;
${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/prerm")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-smi-lib64")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-smi-lib")
# RPM package specific variables
if ( DEFINED ENV{CPACK_RPM_PACKAGE_RELEASE} )
@@ -256,7 +256,7 @@ endif()
set ( CPACK_RPM_FILE_NAME "RPM-DEFAULT" )
set(CPACK_RPM_PACKAGE_AUTOREQ 0)
set(CPACK_RPM_PACKAGE_REQUIRES "rocm-smi-lib64")
set(CPACK_RPM_PACKAGE_REQUIRES "rocm-smi-lib")
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib")
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin")
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib/systemd")