add rsync to copy local patchfiles
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
1b9e884537
commit
d54eaaa4c8
@ -34,6 +34,7 @@ RUN yum install -q -y \
|
||||
wget curl \
|
||||
automake autoconf \
|
||||
yum-utils rpm-build rpmdevtools \
|
||||
rsync \
|
||||
epel-release && \
|
||||
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
|
||||
yum clean all
|
||||
|
@ -4,7 +4,8 @@ set -eo pipefail
|
||||
DIR=$(pwd)
|
||||
|
||||
mkdir ./dist
|
||||
echo '%_topdir '"${DIR}"'/dist' > /root/.rpmmacros
|
||||
echo '%_topdir '"${DIR%/}"'/dist' > /root/.rpmmacros
|
||||
rpmdev-setuptree
|
||||
rsync -q -av "${DIR%/}/patch/" "${DIR%/}/dist/SOURCES"
|
||||
|
||||
exec /usr/bin/rpmbuild "$@"
|
||||
|
Reference in New Issue
Block a user