public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa13@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kokkos] epel10: Minor spec fixes
Date: Sat, 11 Jul 2026 07:20:29 GMT	[thread overview]
Message-ID: <178375442913.1.440100605583530469.rpms-kokkos-6e70885b8529@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-11  7:20 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=178375442913.1.440100605583530469.rpms-kokkos-6e70885b8529@fedoraproject.org \
    --to=ngompa13@gmail.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