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