This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/overlay/bin/rpmbuild
Robert Kaussow d54eaaa4c8
Some checks failed
continuous-integration/drone/push Build is failing
add rsync to copy local patchfiles
2020-06-11 15:48:06 +02:00

12 lines
215 B
Bash
Executable File

#!/usr/bin/env sh
set -eo pipefail
DIR=$(pwd)
mkdir ./dist
echo '%_topdir '"${DIR%/}"'/dist' > /root/.rpmmacros
rpmdev-setuptree
rsync -q -av "${DIR%/}/patch/" "${DIR%/}/dist/SOURCES"
exec /usr/bin/rpmbuild "$@"