public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qcint] f44: Modernize cmake macros
@ 2026-10-28  9:25 Susi Lehtola
  0 siblings, 0 replies; only message in thread
From: Susi Lehtola @ 2026-10-28  9:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qcint
Branch : f44
Commit : c9466cad42f2f4af25841c4abe0a2e3212b4f8ab
Author : Susi Lehtola <jussilehtola@fedoraproject.org>
Date   : 2026-02-12T17:28:41+00:00
Stats  : +13/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/qcint/c/c9466cad42f2f4af25841c4abe0a2e3212b4f8ab?branch=f44

Log:
Modernize cmake macros

---
diff --git a/qcint.spec b/qcint.spec
index c44902f..7c22ddf 100644
--- a/qcint.spec
+++ b/qcint.spec
@@ -2,7 +2,7 @@
 
 Name:           qcint
 Version:        6.1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        An optimized libcint branch for X86 platform with SSE3 intrinsics
 # Automatically converted from old format: GPLv3+ - review is highly recommended.
 License:        GPL-3.0-or-later
@@ -45,11 +45,17 @@ find . -name *.c -exec sed -i 's|//ALL_CINT_FORTRAN_(cint|ALL_CINT_FORTRAN_(int|
 
 %build
 export CFLAGS="%{optflags} -msse3 -Wl,--as-needed"
-%cmake -DENABLE_EXAMPLE=1 -DWITH_F12=1 -DWITH_COULOMB_ERF=1 -DWITH_RANGE_COULOMB=1 -DQUICK_TEST=1 -DBUILD_MARCH_NATIVE=OFF -S . -B %{_host}
-%make_build -C %{_host}
+%cmake \
+    -DENABLE_EXAMPLE=1 \
+    -DWITH_F12=1 \
+    -DWITH_COULOMB_ERF=1 \
+    -DWITH_RANGE_COULOMB=1 \
+    -DQUICK_TEST=1 \
+    -DBUILD_MARCH_NATIVE=OFF
+%cmake_build
 
 %install
-%make_install -C %{_host}
+%cmake_install
 
 %ldconfig_scriptlets
 
@@ -64,6 +70,9 @@ export CFLAGS="%{optflags} -msse3 -Wl,--as-needed"
 %{_libdir}/libcint.so
 
 %changelog
+* Thu Feb 12 2026 Susi Lehtola <jussilehtola@fedoraproject.org> - 6.1.3-3
+- Switch to modern cmake macros.
+
 * Sat Jan 17 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:25 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:25 [rpms/qcint] f44: Modernize cmake macros Susi Lehtola

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