public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocm-runtime] epel10: Add --with preview
Date: Wed, 10 Jun 2026 20:25:28 GMT	[thread overview]
Message-ID: <178112312881.1.13967262371751375545.rpms-rocm-runtime-c4177d1d6314@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocm-runtime
            Branch : epel10
            Commit : c4177d1d63147d06bc46d4f15905f51e8d8b7522
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-03-05T16:27:46-08:00
            Stats  : +25/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-runtime/c/c4177d1d63147d06bc46d4f15905f51e8d8b7522?branch=epel10

            Log:
            Add --with preview

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

---
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index f2f318a..e77edf1 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -22,12 +22,17 @@
 
 %global upstreamname rocr-runtime
 
-#Image support is x86 only
-%ifarch x86_64
-%global enableimage 1
-%endif
+%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
@@ -61,7 +66,11 @@
 
 Name:       %{pkg_name}
 Version:    %{rocm_version}
-Release:    2%{?dist}
+%if %{with preview}
+Release:        0%{?dist}
+%else
+Release:        3%{?dist}
+%endif
 Summary:    ROCm Runtime Library
 
 License:    (NCSA AND BSD-3-Clause) AND (MIT AND BSD-2-Clause) AND (GPL-2.0-only WITH Linux-syscall-note)
@@ -71,10 +80,15 @@ License:    (NCSA AND BSD-3-Clause) AND (MIT AND BSD-2-Clause) AND (GPL-2.0-only
 #  libhsakmt/include/hsakmt/linux/udmabuf.h
 #  GPL-2.0-only WITH Linux-syscall-note
 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
 
 ExclusiveArch:  x86_64
 
+# Image support is x86 only
+%ifarch x86_64
+%global enableimage 1
+%endif
+
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libdrm-devel
@@ -191,8 +205,10 @@ cd libhsakmt/tests/kfdtest
 %cmake_install
 %endif
 
+# Extra licenses
 rm -f %{buildroot}%{pkg_prefix}/share/doc/hsa-rocr/LICENSE.md
 rm -f %{buildroot}%{pkg_prefix}/share/doc/packages/%{name}/LICENSE.md
+rm -f %{buildroot}%{pkg_prefix}/share/doc/rocr/LICENSE.md
 
 %if %{without static}
 rm -f %{buildroot}%{pkg_prefix}/%{pkg_libdir}/libhsakmt.a
@@ -230,6 +246,9 @@ rm -f %{buildroot}%{pkg_prefix}/%{pkg_libdir}/pkgconfig/libhsakmt.pc
 %endif
 
 %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
 

                 reply	other threads:[~2026-06-10 20:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178112312881.1.13967262371751375545.rpms-rocm-runtime-c4177d1d6314@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox