public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <git@lecris.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/xcfun] f44: Use standard CMake macros (rhbz#2381159)
Date: Sat, 06 Jun 2026 11:49:46 GMT	[thread overview]
Message-ID: <178074658679.1.12390916892365115861.rpms-xcfun-7c374e66da69@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xcfun
Branch : f44
Commit : 7c374e66da69057a93418187b10c9602a07bc528
Author : Cristian Le <git@lecris.dev>
Date   : 2026-06-05T17:30:58+02:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xcfun/c/7c374e66da69057a93418187b10c9602a07bc528?branch=f44

Log:
Use standard CMake macros (rhbz#2381159)

---
diff --git a/xcfun.spec b/xcfun.spec
index ee20075..60a75fd 100644
--- a/xcfun.spec
+++ b/xcfun.spec
@@ -2,7 +2,7 @@
 
 Name:    xcfun
 Version: 2.1.1
-Release: 22%{?dist}
+Release: 23%{?dist}
 Summary: A library of approximate exchange-correlation functionals
 License: MPL-2.0
 URL:     https://xcfun.readthedocs.io
@@ -16,7 +16,6 @@ Patch1:  https://github.com/dftlibs/xcfun/pull/155.patch
 BuildRequires: cmake
 BuildRequires: gcc-c++
 BuildRequires: gcc-gfortran
-BuildRequires: make
 BuildRequires: python3-devel
 BuildRequires: pybind11-devel
 
@@ -74,17 +73,16 @@ This package contains the Python bindings for XCFun.
 %patch -P1 -p1 -b .32bit
 
 %build
-%cmake -B %{_host} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB=%{_lib} -DXCFUN_PYTHON_INTERFACE=ON -DPYMOD_INSTALL_LIBDIR=../../%{python3_sitearch}
-%make_build -C %{_host}
+%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB=%{_lib} -DXCFUN_PYTHON_INTERFACE=ON -DPYMOD_INSTALL_LIBDIR=../../%{python3_sitearch}
+%cmake_build
 
 %install
-%make_install -C %{_host}
+%cmake_install
 # Fix test permissions
 chmod u=rwX,og=rX -R %{buildroot}%{python3_sitearch}/xcfun/tests
 
 %check
-cd %{_host}
-ctest --output-on-failure
+%ctest
 
 %files
 %license LICENSE.md
@@ -100,6 +98,9 @@ ctest --output-on-failure
 %{python3_sitearch}/xcfun
 
 %changelog
+* Fri Jun 05 2026 Cristian Le <git@lecris.dev> - 2.1.1-23
+- Use standard CMake macros (rhbz#2381159)
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.1.1-22
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-06-06 11:49 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=178074658679.1.12390916892365115861.rpms-xcfun-7c374e66da69@fedoraproject.org \
    --to=git@lecris.dev \
    --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