Skip to content

Commit

Permalink
Remove version from RPM provides field
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Feb 9, 2024
1 parent 8729a00 commit fea3a99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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(", "
Expand All @@ -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}")
Expand Down

0 comments on commit fea3a99

Please sign in to comment.