Fix RPM generation on RHEL 10 (#162)

* Set version for RPM_PACKAGE_OBSOLETES

* Not setting a version of omnitrace which rocprofiler-systems obsoletes will result in a warning

* Patch RPATH in libunwind files

* Update Timemory pointer

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 75916f8876]
This commit is contained in:
David Galiffi
2025-04-14 11:34:53 -04:00
committed by GitHub
parent 36f7de25a2
commit d629a890a1
2 changed files with 2 additions and 2 deletions
@@ -212,7 +212,7 @@ string(REGEX REPLACE "([a-zA-Z])-([0-9])" "\\1\\2" CPACK_RPM_PACKAGE_RELEASE
string(REPLACE "-" "~" CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}")
# Handle the project rebranding from "omnitrace" to "rocprofiler-systems"
set(CPACK_RPM_PACKAGE_OBSOLETES ${OMNITRACE_PACKAGE_NAME})
set(CPACK_RPM_PACKAGE_OBSOLETES "${OMNITRACE_PACKAGE_NAME} <= 1.13.0")
set(CPACK_RPM_PACKAGE_CONFLICTS ${OMNITRACE_PACKAGE_NAME})
set(_RPM_PACKAGE_PROVIDES ${OMNITRACE_PACKAGE_NAME})
Submodule projects/rocprofiler-systems/external/timemory updated: fad254dde5...858cfc752a