diff --git a/projects/rocr-runtime/hsakmt-dev.txt b/projects/rocr-runtime/hsakmt-dev.txt index 8a181e8a52..5286fc0f72 100644 --- a/projects/rocr-runtime/hsakmt-dev.txt +++ b/projects/rocr-runtime/hsakmt-dev.txt @@ -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)