public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xcfun] f44: Use standard CMake macros (rhbz#2381159)
@ 2026-06-06 11:49 Cristian Le
0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-06-06 11:49 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 11:49 [rpms/xcfun] f44: Use standard CMake macros (rhbz#2381159) Cristian Le
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox