From 908c2e7b24cf60e82cedf99f1eda6a2c369c4c2e Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Sun, 29 Dec 2024 19:34:17 +0100 Subject: 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; } } -- cgit v1.2.3-74-g34f1