Fix upgrade for new package name in RPM
The name changed and thus will end up throwing errors if an upgrade is done, compared to a plain install Change-Id: Ibc7876a66a414034a00f924cdd750e6a08d6c9cc
Tá an tiomantas seo le fáil i:
@@ -76,6 +76,8 @@ set ( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/RadeonOpenCompute/ROCT-T
|
||||
|
||||
# RPM package specific variables
|
||||
set ( CPACK_RPM_PACKAGE_DEPENDS "${HSAKMT_PACKAGE} = ${BUILD_VERSION_MAJOR}.${BUILD_VERSION_MINOR}.${BUILD_VERSION_PATCH}" )
|
||||
# Since we changed the package name to match RPM specs, take care of older builds that had -dev installed
|
||||
set ( CPACK_RPM_PACKAGE_OBSOLETES "hsakmt-roct-dev" )
|
||||
|
||||
# Create cmake configuration files
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir