public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcint] f44: Allow building with Ninja (rhbz#2381035)
@ 2026-10-28  9:26 Cristian Le
  0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-28  9:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libcint
Branch : f44
Commit : a350e383786c06fa1cc8a2f355131caac645d778
Author : Cristian Le <git@lecris.dev>
Date   : 2026-02-12T18:07:34+01:00
Stats  : +14/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libcint/c/a350e383786c06fa1cc8a2f355131caac645d778?branch=f44

Log:
Allow building with Ninja (rhbz#2381035)

---
diff --git a/libcint.spec b/libcint.spec
index 13d56fa..7aaea6a 100644
--- a/libcint.spec
+++ b/libcint.spec
@@ -2,7 +2,7 @@
 
 Name:           libcint
 Version:        6.1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        General Gaussian-type orbitals integrals for quantum chemistry
 # Automatically converted from old format: BSD - review is highly recommended.
 License:        LicenseRef-Callaway-BSD
@@ -50,18 +50,24 @@ done
 
 %build
 export CFLAGS="%{optflags} -Wl,--as-needed"
-%cmake -DENABLE_EXAMPLE=1 -DWITH_F12=1 -DWITH_COULOMB_ERF=1 -DWITH_RANGE_COULOMB=1 -DENABLE_TEST=1 -DQUICK_TEST=1 -S . -B %{_host}
-%make_build -C %{_host}
+%cmake \
+  -DENABLE_EXAMPLE=1 \
+  -DWITH_F12=1 \
+  -DWITH_COULOMB_ERF=1 \
+  -DWITH_RANGE_COULOMB=1 \
+  -DENABLE_TEST=1 \
+  -DQUICK_TEST=1
+%cmake_build
 
 # Build documentation
 cd doc
 bash compile.sh
 
 %install
-%make_install -C %{_host}
+%cmake_install
 
 %check
-make -C %{_host} test ARGS=-V
+%ctest
 
 %files
 %doc README.rst ChangeLog
@@ -75,6 +81,9 @@ make -C %{_host} test ARGS=-V
 %{_libdir}/libcint.so
 
 %changelog
+* Thu Feb 12 2026 Cristian Le <git@lecris.dev> - 6.1.3-3
+- Allow building with Ninja (rhbz#2381035)
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  9:26 [rpms/libcint] f44: Allow building with Ninja (rhbz#2381035) Cristian Le

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox