Use -stable as directory for stable builds

This commit is contained in:
Timothy Redaelli 2022-04-29 14:13:57 +02:00
parent f6bd88e9da
commit e66d2c2063

View File

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