diff --git a/dpdk.spec b/dpdk.spec index 8133688..ffd5cd6 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -115,7 +115,7 @@ for i,path in ipairs(directories) do end end %prep -%setup -q -n dpdk-%{version} +%setup -q -n dpdk%(awk -F. '{ if (NF > 2) print "-stable" }' <<<%{version})-%{version} %build CFLAGS="$(echo %{optflags} -fcommon)" \