public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocm-smi] epel10: Add --with preview
@ 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 : 76714f57433fb57d9baaae7f2e509a82df88be2c
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-03-11T08:51:01-07:00
Stats : +20/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-smi/c/76714f57433fb57d9baaae7f2e509a82df88be2c?branch=epel10
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocm-smi.spec b/rocm-smi.spec
index 24a2daf..dd89a0b 100644
--- a/rocm-smi.spec
+++ b/rocm-smi.spec
@@ -19,10 +19,20 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
+%global upstreamname rocm-smi-lib
+
+%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}
-%global upstreamname rocm-smi-lib
%bcond_with compat
%if %{with compat}
@@ -49,12 +59,16 @@
Name: %{pkg_name}
Version: %{rocm_version}
-Release: 1%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 2%{?dist}
+%endif
Summary: ROCm System Management Interface Library
License: MIT AND NCSA
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
%if 0%{?rhel} || 0%{?suse_version}
ExclusiveArch: x86_64
@@ -165,6 +179,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocm-smi-lib/LICENSE.md
%endif
%changelog
+* Wed Mar 11 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- Add --with preview
+
* Mon Jan 26 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
- Update to 7.2.0
^ 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: 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