diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-12-29 19:42:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-29 19:42:47 +0100 |
commit | e301a9410d7f5f9f864086696eb2003d08512b2b (patch) | |
tree | ec0c589a57ef35221674eb6d8ae2c59f44f3b2eb | |
parent | e7dbfd42231754b0258f2f92088caba7de3ee9d8 (diff) | |
parent | 908c2e7b24cf60e82cedf99f1eda6a2c369c4c2e (diff) | |
download | monitoring-plugins-e301a9410d7f5f9f864086696eb2003d08512b2b.tar.gz |
Merge pull request #2057 from RincewindsHat/fix/test_rpm_build
Fix breakage in rpm build test due to changes in mock
-rwxr-xr-x | .github/mock.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/mock.sh b/.github/mock.sh index ea4f7f3d..8f84756c 100755 --- a/.github/mock.sh +++ b/.github/mock.sh | |||
@@ -59,7 +59,7 @@ mkdir -p "${SRCRPM_DIR}" "${RPM_DIR}" | |||
59 | dnf -y --setopt="tsflags=nodocs" install rpmdevtools && \ | 59 | dnf -y --setopt="tsflags=nodocs" install rpmdevtools && \ |
60 | spectool -g -C ${SOURCE_DIR} ${SPEC_FILE} && \ | 60 | spectool -g -C ${SOURCE_DIR} ${SPEC_FILE} && \ |
61 | mock --init && \ | 61 | mock --init && \ |
62 | { mock --no-clean --spec ${SPEC_FILE} --sources=${SOURCE_DIR} --result=${SRCRPM_DIR} --build || \ | 62 | { mock --no-clean --spec ${SPEC_FILE} --sources=${SOURCE_DIR} --result=${SRCRPM_DIR} --buildsrpm || \ |
63 | { cat ${SRCRPM_DIR}/{root,build}.log; exit 1; } } && \ | 63 | { cat ${SRCRPM_DIR}/{root,build}.log; exit 1; } } && \ |
64 | { mock --no-clean --sources=${SOURCE_DIR} --result=${RPM_DIR} --rebuild "${SRCRPM_DIR}"/${SRC_RPM} || \ | 64 | { mock --no-clean --sources=${SOURCE_DIR} --result=${RPM_DIR} --rebuild "${SRCRPM_DIR}"/${SRC_RPM} || \ |
65 | { cat ${RPM_DIR}/{root,build}.log; exit 1; } } | 65 | { cat ${RPM_DIR}/{root,build}.log; exit 1; } } |