From a9e9a1d03f0b0ae368141f0e7ce8926111c2dcdbdda45c73276e149e2e0c70b5 Mon Sep 17 00:00:00 2001 From: Mohd Saquib Date: Mon, 26 Feb 2024 14:21:48 +0000 Subject: [PATCH] Accepting request 1151555 from home:dimstar:rpm4.20:s Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151555 OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=159 --- strongswan.changes | 5 +++++ strongswan.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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"