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:
Kent Russell
2020-01-28 15:09:03 -05:00
tuismitheoir 4f2ff25a3d
tiomantas f2b8965d7b
+2
Féach ar an gComhad
@@ -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)