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-core] epel10: Add --with preview
Date: Thu, 11 Jun 2026 14:37:10 GMT	[thread overview]
Message-ID: <178118863095.1.3568581879971457908.rpms-rocm-core-44e275bdce12@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocm-core
            Branch : epel10
            Commit : 44e275bdce128d2d94e9df5e87fb6f44be850046
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-03-11T08:54:45-07:00
            Stats  : +19/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-core/c/44e275bdce128d2d94e9df5e87fb6f44be850046?branch=epel10

            Log:
            Add --with preview

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

---
diff --git a/rocm-core.spec b/rocm-core.spec
index 649f0bf..c7b048b 100644
--- a/rocm-core.spec
+++ b/rocm-core.spec
@@ -20,8 +20,18 @@
 # THE SOFTWARE.
 #
 %global upstreamname rocm-core
+
+%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
@@ -47,11 +57,15 @@
 
 Name:           %{core_name}
 Version:        %{rocm_version}
-Release:        1%{?dist}
+%if %{with preview}
+Release:        0%{?dist}
+%else
+Release:        2%{?dist}
+%endif
 Summary:        A utility to get the ROCm release version
 License:        MIT
 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
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -119,6 +133,9 @@ find %{buildroot} -type f -name 'runpath_to_rpath.py' -exec rm {} \;
 %{pkg_prefix}/%{pkg_libdir}/cmake/rocm-core/
 
 %changelog
+* Wed Mar 11 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- Add --with preview
+
 * Thu Jan 29 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
 - Update to 7.2.0
 

                 reply	other threads:[~2026-06-11 14:37 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=178118863095.1.3568581879971457908.rpms-rocm-core-44e275bdce12@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