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


[ROCm/ROCR-Runtime commit: f2b8965d7b]
This commit is contained in:
Kent Russell
2020-01-28 15:09:03 -05:00
والد 3d827edb27
کامیت 67726d2c2a
@@ -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)