diff --git a/strongswan.changes b/strongswan.changes index d8aba38..3c06b42 100644 --- a/strongswan.changes +++ b/strongswan.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 13:31:08 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Dec 1 10:31:13 UTC 2023 - Jan Engelhardt diff --git a/strongswan.spec b/strongswan.spec index 465acbb..aa2f4f1 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -218,12 +218,12 @@ and the load testing plugin for IKEv2 daemon. %prep %setup -q -n %{name}-%{upstream_version} -%patch2 -p1 -%patch5 -p1 +%patch -P 2 -p1 +%patch -P 5 -p1 sed -e 's|@libexecdir@|%_libexecdir|g' \ < %{_sourcedir}/strongswan.init.in \ > strongswan.init -%patch6 -p1 +%patch -P 6 -p1 %build CFLAGS="%{optflags} -W -Wall -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-parameter"