mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
Fix breakage in rpm build test due to changes in mock
This commit is contained in:
parent
e7dbfd4223
commit
908c2e7b24
1 changed files with 1 additions and 1 deletions
2
.github/mock.sh
vendored
2
.github/mock.sh
vendored
|
|
@ -59,7 +59,7 @@ mkdir -p "${SRCRPM_DIR}" "${RPM_DIR}"
|
|||
dnf -y --setopt="tsflags=nodocs" install rpmdevtools && \
|
||||
spectool -g -C ${SOURCE_DIR} ${SPEC_FILE} && \
|
||||
mock --init && \
|
||||
{ mock --no-clean --spec ${SPEC_FILE} --sources=${SOURCE_DIR} --result=${SRCRPM_DIR} --build || \
|
||||
{ mock --no-clean --spec ${SPEC_FILE} --sources=${SOURCE_DIR} --result=${SRCRPM_DIR} --buildsrpm || \
|
||||
{ cat ${SRCRPM_DIR}/{root,build}.log; exit 1; } } && \
|
||||
{ mock --no-clean --sources=${SOURCE_DIR} --result=${RPM_DIR} --rebuild "${SRCRPM_DIR}"/${SRC_RPM} || \
|
||||
{ cat ${RPM_DIR}/{root,build}.log; exit 1; } }
|
||||
|
|
|
|||
Loading…
Reference in a new issue