public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocm-smi] epel10: Update preview to 7.13
@ 2026-06-09 22:36 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-09 22:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocm-smi
            Branch : epel10
            Commit : 0f894c2023127ed4556fee22af6406be81057e5b
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-05-18T05:11:28-07:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-smi/c/0f894c2023127ed4556fee22af6406be81057e5b?branch=epel10

            Log:
            Update preview to 7.13

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocm-smi.spec b/rocm-smi.spec
index 4a8bf7e..2af4c7b 100644
--- a/rocm-smi.spec
+++ b/rocm-smi.spec
@@ -26,7 +26,7 @@
 
 %bcond_with preview
 %if %{with preview}
-%global rocm_release 7.12
+%global rocm_release 7.13
 %global rocm_patch 0
 %global pkg_src therock-%{rocm_release}
 %else
@@ -125,6 +125,7 @@ BuildRequires:  doxygen-latex >= 1.9.7
 %endif
 %endif
 BuildRequires:  gcc-c++
+BuildRequires:  git
 BuildRequires:  libdrm-devel
 BuildRequires:  rocm-filesystem%{pkg_suffix}
 
@@ -188,7 +189,11 @@ sed -i -e 's@env python3@python3@' python_smi_tools/rsmiBindingsInit.py.in
 # https://github.com/ROCm/rocm-systems/issues/1022
 sed -i -e 's@FetchContent_MakeAvailable(googletest)@#FetchContent_MakeAvailable(googletest)@' tests/rocm_smi_test/CMakeLists.txt
 sed -i -e 's@PUBLIC GTest::gtest_main@PUBLIC gtest_main gtest@' tests/rocm_smi_test/CMakeLists.txt
+%if %{with preview}
+sed -i -e '/install googletest/,+5d' tests/rocm_smi_test/CMakeLists.txt
+%else
 sed -i -e '/TARGETS gtest gtest_main/,+3d' tests/rocm_smi_test/CMakeLists.txt
+%endif
 
 # fix iomanip include
 # https://github.com/ROCm/rocm-systems/issues/1021

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 22:36 [rpms/rocm-smi] epel10: Update preview to 7.13 Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox