Commit 9241f15c authored by Dennis Klein's avatar Dennis Klein
Browse files

feat: Update dds

parent 3fbcfa5d
Subproject commit 3fa8172c92e73de5d0f11e8e58546f4c95cc982c
Subproject commit f33f1a6a95eecbfebc6042af382fcf2d3128ba15
......@@ -23,11 +23,18 @@ fi
reponame=${repobasename}-${repoflavor}
os=fedora
# os=centos
releasever=$(rpm --eval "%{fedora}")
# releasever=stream-8
arch=$(rpm --eval "%{_arch}")
mockroot=${os}-${releasever}-${arch}
builddir=${repodir}/build/${mockroot}
resultdir=${repodir}/result/${mockroot}
releasedir=${os}-${releasever}-${arch}
if [[ ${os} = "fedora" ]] && [[ ${releasever} -lt 33 ]]; then
mockroot=eol/${releasedir}
else
mockroot=${releasedir}
fi
builddir=${repodir}/build/${releasedir}
resultdir=${repodir}/result/${releasedir}
mock="mock -r ${mockroot} --macro-file=${scriptdir}/macros"
rpmspec="rpmspec --load=${scriptdir}/macros"
......
......@@ -3,4 +3,5 @@
__DIR__="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
. ${__DIR__}/common.sh
set -x
${mock} -q --update
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment