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-cmake] epel10: Add --with preview
Date: Tue, 09 Jun 2026 22:56:54 GMT [thread overview]
Message-ID: <178104581458.1.2627415638112192340.rpms-rocm-cmake-9fd25fd576c0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocm-cmake
Branch : epel10
Commit : 9fd25fd576c0ef5dc74a4f9dced944d096799d76
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-03-06T05:46:22-08:00
Stats : +23/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-cmake/c/9fd25fd576c0ef5dc74a4f9dced944d096799d76?branch=epel10
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocm-cmake.spec b/rocm-cmake.spec
index a113a0c..a54b0d2 100644
--- a/rocm-cmake.spec
+++ b/rocm-cmake.spec
@@ -20,11 +20,17 @@
# THE SOFTWARE.
#
-# there is no debug package - this is just cmake modules
-%global debug_package %{nil}
-
+%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
@@ -38,13 +44,20 @@
%endif
%global pkg_name rocm-cmake%{pkg_suffix}
+# there is no debug package - this is just cmake modules
+%global debug_package %{nil}
+
Name: %{pkg_name}
Version: %{rocm_version}
-Release: 2%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 3%{?dist}
+%endif
Summary: CMake modules for common build and development tasks for ROCm
License: MIT
URL: https://github.com/ROCm/rocm-cmake
-Source: %{url}/archive/rocm-%{version}.tar.gz#/rocm-cmake-rocm-%{version}.tar.gz
+Source: %{url}/archive/%{pkg_src}.tar.gz#/rocm-cmake-rocm-%{version}.tar.gz
# https://github.com/ROCm/rocm-cmake/issues/276
Patch0: 0001-rocm-cmake-follow-cmake-install-rules.patch
@@ -64,7 +77,7 @@ rocm-cmake is not required for building libraries or programs that use ROCm; it
is required for building some of the libraries that are a part of ROCm.
%prep
-%autosetup -p1 -n rocm-cmake-rocm-%{version}
+%autosetup -p1 -n rocm-cmake-%{pkg_src}
# Another hardcoding of the libdir
sed -i -e 's@set(CMAKE_INSTALL_LIBDIR@#set(CMAKE_INSTALL_LIBDIR@' share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
@@ -88,7 +101,10 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocm-cmake/LICENSE
%{pkg_prefix}/share/rocmcmakebuildtools/
%changelog
-* Thu Feb 12 2026 Tom Rix <Tom>Rix@amd.com> - 7.2.0-2
+* 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
- Fix changelog
* Sat Jan 24 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
reply other threads:[~2026-06-09 22:56 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=178104581458.1.2627415638112192340.rpms-rocm-cmake-9fd25fd576c0@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