public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocminfo] epel10: Add --with preview
@ 2026-06-10 22:43 Tom Rix
0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-10 22:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rocminfo
Branch : epel10
Commit : 2829cd8a076ecb26fb7471a36161d33688d466ee
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-03-05T17:35:01-08:00
Stats : +21/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocminfo/c/2829cd8a076ecb26fb7471a36161d33688d466ee?branch=epel10
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocminfo.spec b/rocminfo.spec
index b21222a..2bff8e3 100644
--- a/rocminfo.spec
+++ b/rocminfo.spec
@@ -19,9 +19,20 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
+
%global upstreamname rocminfo
+
+%bcond_with preview
+%if %{with preview}
+%global rocm_release 7.11
+%global rocm_patch 0
+%global pkg_src therock-%{rocm_release}
+%else
%global rocm_release 7.2
%global rocm_patch 0
+%global pkg_src rocm-%{rocm_release}.%{rocm_patch}
+%endif
+
%global rocm_version %{rocm_release}.%{rocm_patch}
%bcond_with compat
@@ -40,7 +51,12 @@
Name: %{pkg_name}
Version: %{rocm_version}
-Release: 2%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 3%{?dist}
+%endif
+
Summary: ROCm system info utility
License: NCSA AND MIT
@@ -48,7 +64,7 @@ License: NCSA AND MIT
# This file is MIT
# rocm_agent_enumerator
URL: https://github.com/ROCm/rocm-systems
-Source0: %{url}/releases/download/rocm-%{version}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+Source0: %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
Patch0: 0001-adjust-CMAKE_CXX_FLAGS.patch
ExclusiveArch: x86_64
@@ -104,6 +120,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/*/*/License.txt
%{pkg_prefix}/bin/rocminfo
%changelog
+* Thu Mar 5 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-3
+- Add --with preview
+
* Thu Feb 12 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
- Update license
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 22:43 [rpms/rocminfo] epel10: Add --with preview Tom Rix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox