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/rocalution] rawhide: Add --with preview
Date: Thu, 06 Aug 2026 12:08:03 GMT [thread overview]
Message-ID: <178601808364.1.8044873288692063746.rpms-rocalution-e98c048c4aed@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocalution
Branch : rawhide
Commit : e98c048c4aed1b6480b4064c1ed6aa16ab5c13d7
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-08-06T05:06:20-07:00
Stats : +28/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocalution/c/e98c048c4aed1b6480b4064c1ed6aa16ab5c13d7?branch=rawhide
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocalution.spec b/rocalution.spec
index 49f8fc5..d3c3bd3 100644
--- a/rocalution.spec
+++ b/rocalution.spec
@@ -19,13 +19,23 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
-%global upstreamname rocALUTION
%global pkg_library_name rocalution
%global pkg_library_version 1
+%bcond_with preview
+%if %{with preview}
+%global upstreamname rocalution
+%global rocm_release 7.14
+%global rocm_patch 0
+%global pkg_src therock-%{rocm_release}
+%else
+%global upstreamname rocALUTION
%global rocm_release 7.2
%global rocm_patch 0
+%global pkg_src rocm-%{rocm_version}
+%endif
+
%global rocm_version %{rocm_release}.%{rocm_patch}
%bcond_with compat
@@ -89,12 +99,22 @@
Name: rocalution%{pkg_suffix}
Version: %{rocm_version}
-Release: 5%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 6%{?dist}
+%endif
+
Summary: Next generation library for iterative sparse solvers for ROCm platform
-Url: https://github.com/ROCm/%{upstreamname}
License: MIT
+%if %{with preview}
+URL: https://github.com/ROCm/rocm-libraries
+Source0: %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+%else
+Url: https://github.com/ROCm/%{upstreamname}
Source0: %{url}/archive/rocm-%{version}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+%endif
BuildRequires: chrpath
BuildRequires: cmake
@@ -184,7 +204,11 @@ Requires: rocm-filesystem%{pkg_suffix}
%endif
%prep
-%autosetup -p1 -n %{upstreamname}-rocm-%{version}
+%if %{with preview}
+%autosetup -p3 -n %{upstreamname}
+%else
+%autosetup -p1 -n %{upstreamname}-%{pkg_src}
+%endif
%if 0%{?suse_version}
# On TW
reply other threads:[~2026-08-06 12:08 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=178601808364.1.8044873288692063746.rpms-rocalution-e98c048c4aed@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