[monitoring-plugins] Fix breakage in rpm build test due to changes in ...

Lorenz Kästle git at monitoring-plugins.org
Sun Dec 29 19:50:11 CET 2024


 Module: monitoring-plugins
 Branch: master
 Commit: 908c2e7b24cf60e82cedf99f1eda6a2c369c4c2e
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Sun Dec 29 19:34:17 2024 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=908c2e7b

Fix breakage in rpm build test due to changes in mock

---

 .github/mock.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}"
 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; } }



More information about the Commits mailing list