Need to modernize patch syntax to fix build failure on rawhide

This commit is contained in:
Susi Lehtola 2024-06-20 10:03:55 +00:00
commit de8ae8807c

View file

@ -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 <jussilehtola@fedoraproject.org> - 2.1.1-14
- Modernize patch syntax.
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 2.1.1-13
- Rebuilt for Python 3.13