public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocrand] rawhide: merge compat changes
@ 2026-06-03 13:25 Tom Rix
0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-03 13:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rocrand
Branch : rawhide
Commit : 31cabc199a16cab3d3706b5e6009914fd520c61a
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-06-03T06:25:00-07:00
Stats : +7/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocrand/c/31cabc199a16cab3d3706b5e6009914fd520c61a?branch=rawhide
Log:
merge compat changes
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocrand.spec b/rocrand.spec
index 9dda4e2..241d81b 100644
--- a/rocrand.spec
+++ b/rocrand.spec
@@ -51,7 +51,7 @@
%if 0%{?suse_version}
%global pkg_name lib%{pkg_library_name}%{pkg_library_version}%{pkg_suffix}
%else
-%global pkg_name %{NAME}
+%global pkg_name %{name}
%endif
%global toolchain rocm
@@ -129,7 +129,7 @@ Version: %{rocm_version}
%if %{with preview}
Release: 0%{?dist}
%else
-Release: 4%{?dist}
+Release: 5%{?dist}
%endif
Summary: ROCm random number generator
@@ -162,10 +162,10 @@ BuildRequires: gcc-c++
BuildRequires: rocm-cmake%{pkg_suffix}
BuildRequires: rocm-comgr%{pkg_suffix}-devel
BuildRequires: rocm-compilersupport%{pkg_suffix}-macros
+BuildRequires: rocm-filesystem%{pkg_suffix}
BuildRequires: rocm-hip%{pkg_suffix}-devel
BuildRequires: rocm-runtime%{pkg_suffix}-devel
BuildRequires: rocm-rpm-macros%{pkg_suffix}
-BuildRequires: rocm-rpm-macros%{pkg_suffix}-modules
%if %{with test} || %{with check}
%if 0%{?suse_version}
@@ -190,6 +190,7 @@ BuildRequires: ninja
%endif
Provides: rocrand%{pkg_suffix} = %{version}-%{release}
+Requires: rocm-filesystem%{pkg_suffix}
# Only x86_64 works right now:
ExclusiveArch: x86_64
@@ -252,13 +253,8 @@ rm -rf test/fortran/fruit
rm -f %{buildroot}%{pkg_prefix}/share/doc/rocrand/LICENSE.md
%files -n %{pkg_name}
-%if %{with gitcommit}
-%doc projects/rocrand/README.md
-%license projects/rocrand/LICENSE.md
-%else
%doc README.md
%license LICENSE.md
-%endif
%if %{with debug}
%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}-d.so.%{pkg_library_version}{,.*}
@@ -282,6 +278,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocrand/LICENSE.md
%endif
%changelog
+* Tue Jun 2 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- merge compat changes
+
* Mon Apr 20 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
- Generate suse package name
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-03 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 13:25 [rpms/rocrand] rawhide: merge compat changes Tom Rix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox