Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Python Maint
67c0b404c0 Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:16:04 +02:00
Fedora Release Engineering
bd8b82d8d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:03:47 +00:00
Python Maint
dea6f69ef2 Rebuilt for Python 3.15 2026-06-08 14:56:21 +02:00
Cristian Le
7c374e66da Use standard CMake macros (rhbz#2381159) 2026-06-05 17:30:58 +02:00
Python Maint
36d995e7e2 Rebuilt for Python 3.15 2026-06-04 00:10:47 +02:00
Fedora Release Engineering
1076c288fd Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:30:21 +00:00

View file

@ -2,7 +2,7 @@
Name: xcfun
Version: 2.1.1
Release: 20%{?dist}
Release: 26%{?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,24 @@ ctest --output-on-failure
%{python3_sitearch}/xcfun
%changelog
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.1.1-26
- Rebuilt for Python 3.15.0b4 ABI change
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon Jun 08 2026 Python Maint <python-maint@redhat.com> - 2.1.1-24
- Rebuilt for Python 3.15
* 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
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.1.1-20
- Rebuilt for Python 3.14.0rc3 bytecode