From de8ae8807c9bddc8bbc40285bc1c02bcf4fbee10 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Thu, 20 Jun 2024 10:03:55 +0000 Subject: [PATCH] Need to modernize patch syntax to fix build failure on rawhide --- xcfun.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xcfun.spec b/xcfun.spec index a10350a..0e8b41e 100644 --- a/xcfun.spec +++ b/xcfun.spec @@ -2,7 +2,7 @@ Name: xcfun Version: 2.1.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A library of approximate exchange-correlation functionals License: MPL-2.0 URL: https://xcfun.readthedocs.io @@ -70,8 +70,8 @@ This package contains the Python bindings for XCFun. %prep %setup -q -%patch -P0 -p1 -b .overflow -%patch -P1 -p1 -b .32bit +%patch 0 -p1 -b .overflow +%patch 1 -p1 -b .32bit %build %cmake -B %{_host} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB=%{_lib} -DXCFUN_PYTHON_INTERFACE=ON -DPYMOD_INSTALL_LIBDIR=../../%{python3_sitearch} @@ -100,6 +100,9 @@ ctest --output-on-failure %{python3_sitearch}/xcfun %changelog +* Thu Jun 20 2024 Susi Lehtola - 2.1.1-14 +- Modernize patch syntax. + * Sat Jun 08 2024 Python Maint - 2.1.1-13 - Rebuilt for Python 3.13