SWDEV-408360 - Disable RPM spec autoreq field rather than disabling autoreqprov field

In hip-runtime-amd RPM package the autoreqprov field was disabled. So the package provides list will not have any libraries
Other packages that depends on hip libraries will be having the reported issue.
Disable the RPM autoreq field alone, so that the package provides list will have libraries

Change-Id: I40c30d01ea137867bdb64c2509c1fc86827c09dd


[ROCm/clr commit: 19f43aa273]
This commit is contained in:
Ranjith Ramakrishnan
2023-07-05 15:36:56 -07:00
förälder 43c2326328
incheckning 73c16500c4
+5 -1
Visa fil
@@ -145,7 +145,11 @@ if (CPACK_RPM_PACKAGE_RELEASE MATCHES "local" )
#DEBUG SYMBOL pacaking require SOURCE_DIR to be small
set(CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX ${CPACK_INSTALL_PREFIX})
endif()
set(CPACK_RPM_PACKAGE_AUTOREQPROV " no")
# Eventhough hip-runtime package has libraries,it was not in the package provides list,
# since CPACK_RPM_PACKAGE_AUTOREQPROV was set to "no".
# Use AUTOREQ,(rather than AUTOREQPROV) so that package will also provides the libraries
set(CPACK_RPM_PACKAGE_AUTOREQ " no")
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT")