From 05f820d99df6e60e36f737122eb6a1474c02f2434b3b18dbb8cae93fa640746d Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 24 Jul 2024 06:52:37 +0000 Subject: [PATCH] - use %autopatch even for older distros, -M *is* supported there OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=157 --- dpdk.changes | 5 +++++ dpdk.spec | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dpdk.changes b/dpdk.changes index 6fdc661..786d41a 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 24 06:25:38 UTC 2024 - Jiri Slaby + +- use %autopatch even for older distros, -M *is* supported there + ------------------------------------------------------------------- Tue Jul 16 08:47:23 UTC 2024 - Jiri Slaby diff --git a/dpdk.spec b/dpdk.spec index 568878d..c940ded 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -183,13 +183,8 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the %if 0%{?suse_version} > 1600 %autopatch -p1 %else -# grr, no fs.copyfile() in the old meson in SLE. -# and no -m and -M to %%autopatch in SLE either. Yuck. -%patch -P 0 -p1 -%patch -P 1 -p1 -%patch -P 2 -p1 -%patch -P 3 -p1 -%patch -P 4 -p1 +# grr, no fs.copyfile() in the old meson in SLE (but it has old enough kernel). +%autopatch -p1 -M 99 %endif # Skip not supported examples