Provide a version for RPM Obsoletes attribute (#670)
Fix RPM generation warning
[ROCm/rocprofiler-compute commit: 1903e8e748]
Cette révision appartient à :
@@ -528,7 +528,7 @@ set(CPACK_DEBIAN_PACKAGE_DEPENDS ${PACKAGE_REQUIRES})
|
||||
# Handle the project rebranding from omniperf to rocprofiler-compute
|
||||
set(OMNIPERF_PACKAGE_NAME "omniperf")
|
||||
set(CPACK_RPM_PACKAGE_PROVIDES ${OMNIPERF_PACKAGE_NAME})
|
||||
set(CPACK_RPM_PACKAGE_OBSOLETES ${OMNIPERF_PACKAGE_NAME})
|
||||
set(CPACK_RPM_PACKAGE_OBSOLETES "${OMNIPERF_PACKAGE_NAME} < 3.0.0")
|
||||
set(CPACK_RPM_PACKAGE_CONFLICTS ${OMNIPERF_PACKAGE_NAME})
|
||||
|
||||
set(CPACK_DEBIAN_PACKAGE_PROVIDES ${OMNIPERF_PACKAGE_NAME})
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur