From fea3a99be79362f245f9b9f911729f92590db046 Mon Sep 17 00:00:00 2001 From: Lauren Wrubleski Date: Fri, 9 Feb 2024 15:08:43 -0700 Subject: [PATCH] Remove version from RPM provides field --- share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake b/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake index b073fc14..8161d24e 100755 --- a/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake +++ b/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake @@ -339,7 +339,7 @@ macro(rocm_create_package) if(DEFINED CPACK_DEBIAN_DEVEL_PACKAGE_PROVIDES) rocm_join_if_set(", " CPACK_DEBIAN_DEVEL_PACKAGE_PROVIDES - "${CPACK_PACKAGE_NAME} = ${CPACK_PACKAGE_VERSION}" + "${CPACK_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION})" ) else() rocm_join_if_set(", " @@ -351,13 +351,13 @@ macro(rocm_create_package) if(DEFINED CPACK_RPM_DEVEL_PACKAGE_PROVIDES) rocm_join_if_set(", " CPACK_RPM_DEVEL_PACKAGE_PROVIDES - "${CPACK_PACKAGE_NAME} = ${CPACK_PACKAGE_VERSION}" + "${CPACK_PACKAGE_NAME}" ) else() rocm_join_if_set(", " CPACK_RPM_DEVEL_PACKAGE_PROVIDES "${CPACK_RPM_PACKAGE_PROVIDES}" - "${CPACK_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION})") + "${CPACK_PACKAGE_NAME}") endif() else() rocm_package_add_dependencies(COMPONENT devel DEPENDS "${CPACK_PACKAGE_NAME} >= ${CPACK_PACKAGE_VERSION}")