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/libxc] f43: Allow to build with CMake 4.0 (rhbz#2380769)
Date: Fri, 17 Jul 2026 18:07:20 GMT [thread overview]
Message-ID: <178431164042.1.3709156716977011451.rpms-libxc-8a27757e2a5d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libxc
Branch : f43
Commit : 8a27757e2a5d4533803bb1c5831fafa830e78bd2
Author : Cristian Le <git@lecris.dev>
Date : 2025-11-12T18:28:02+01:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libxc/c/8a27757e2a5d4533803bb1c5831fafa830e78bd2?branch=f43
Log:
Allow to build with CMake 4.0 (rhbz#2380769)
---
diff --git a/libxc.spec b/libxc.spec
index 84e345b..7622053 100644
--- a/libxc.spec
+++ b/libxc.spec
@@ -16,7 +16,7 @@
Name: libxc
Summary: Library of exchange and correlation functionals for density-functional theory
Version: 7.0.0
-Release: 8%{?dist}
+Release: 9%{?dist}
License: MPL-2.0
Source0: https://gitlab.com/libxc/libxc/-/archive/%{version}/%{name}-%{version}.tar.gz
# Don't rebuild libxc for pylibxc
@@ -81,6 +81,8 @@ This package contains the Python3 interface library to libxc.
sed -i "s|@SOVERSION@|%{soversion}|g;s|@LIBDIR@|%{_libdir}|g" pylibxc/core.py
%build
+# TODO: Please submit an issue to upstream (rhbz#2380769)
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
# Disable var tracking assignments for C sources, since it fails anyhow due to the size of the sources
export CFLAGS="%{optflags} -fno-var-tracking-assignments"
%cmake -DDISABLE_VXC=OFF -DDISABLE_FXC=OFF -DDISABLE_KXC=OFF %{lxcflag} -DENABLE_FORTRAN=ON -DENABLE_PYTHON=ON -DENABLE_XHOST=OFF
@@ -128,6 +130,9 @@ sed -i 's|includedir=${prefix}/include/|includedir=%{_libdir}/gfortran/modules|g
%{python3_sitearch}/pylibxc/
%changelog
+* Tue Nov 11 2025 Cristian Le <git@lecris.dev> - 7.0.0-9
+- Allow to build with CMake 4.0 (rhbz#2380769)
+
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 7.0.0-8
- Rebuilt for Python 3.14.0rc3 bytecode
reply other threads:[~2026-07-17 18:07 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=178431164042.1.3709156716977011451.rpms-libxc-8a27757e2a5d@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