From e66d2c20635620a58ec299a633abf4e353635c9d Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Fri, 29 Apr 2022 14:13:57 +0200 Subject: [PATCH] Use -stable as directory for stable builds --- dpdk.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" \