From ccc7c8f9edbd6c93bd655abd6afe8e0aed01c299 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Thu, 17 Oct 2024 08:16:08 +0000 Subject: [PATCH] Adjust patch style for epel --- xcfun.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xcfun.spec b/xcfun.spec index 0199f9c..661dc96 100644 --- a/xcfun.spec +++ b/xcfun.spec @@ -70,8 +70,9 @@ This package contains the Python bindings for XCFun. %prep %setup -q -%patch 0 -p1 -b .overflow -%patch 1 -p1 -b .32bit +# EPEL does not support the new patch syntax +%patch0 -p1 -b .overflow +%patch1 -p1 -b .32bit %build %cmake -B %{_host} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB=%{_lib} -DXCFUN_PYTHON_INTERFACE=ON -DPYMOD_INSTALL_LIBDIR=../../%{python3_sitearch}