public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kokkos] epel10: Minor spec fixes
@ 2026-07-11 7:20 Neal Gompa
0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-07-11 7:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kokkos
Branch : epel10
Commit : 6e70885b85296072c0a857f722ba9d162ea3b7e3
Author : Neal Gompa <ngompa13@gmail.com>
Date : 2021-05-22T09:51:56-04:00
Stats : +10/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kokkos/c/6e70885b85296072c0a857f722ba9d162ea3b7e3?branch=epel10
Log:
Minor spec fixes
- Adjustments to build on EPEL 8 with RHEL 8.4+
- Minor cleanup of Source0 and use newer autosetup macro
---
diff --git a/kokkos.spec b/kokkos.spec
index 916fe75..419ba5f 100644
--- a/kokkos.spec
+++ b/kokkos.spec
@@ -1,3 +1,6 @@
+# Needed for EPEL8
+%undefine __cmake_in_source_build
+
Name: kokkos
Version: 3.4.00
%global sover 3.4
@@ -8,10 +11,10 @@ ExcludeArch: i686 armv7hl
License: BSD
URL: https://github.com/kokkos/kokkos
-Source0: https://github.com/kokkos/kokkos/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
-BuildRequires: cmake3 >= 3.0
+BuildRequires: cmake >= 3.16
BuildRequires: hwloc-devel
%global kokkos_desc \
@@ -35,10 +38,10 @@ Requires: hwloc-devel
This package contains the development files of %{name}.
%prep
-%setup -q
+%autosetup -p1
%build
-%{cmake3} \
+%cmake \
-DKokkos_ENABLE_TESTS=On \
%ifarch ppc64le
-DKokkos_ARCH_POWER8=ON \
@@ -50,17 +53,17 @@ This package contains the development files of %{name}.
-DKokkos_ENABLE_SERIAL=ON \
-DKokkos_ENABLE_HWLOC=ON \
%{nil}
-%cmake3_build
+%cmake_build
%install
-%cmake3_install
+%cmake_install
%check
# https://github.com/kokkos/kokkos/issues/2959 - unstable test
%ifarch s390x
%global testargs --exclude-regex KokkosCore_UnitTest_StackTraceTest
%endif
-%ctest3 %{?testargs}
+%ctest %{?testargs}
%files
%doc README.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 7:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 7:20 [rpms/kokkos] epel10: Minor spec fixes Neal Gompa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox