Jansson dependency in RHEL10

It looks like jansson package in RHEL10 has some dependency issues.

As a workaround we can install it with --nobest option fow now.
We can revert this commit once the jansson dependency issue is solved.
This commit is contained in:
Tomas Halman 2024-04-18 09:45:25 +02:00
parent a90093fe61
commit a00ac17a9c

View File

@ -60,7 +60,7 @@ rlJournalStart
# Source package is needed for code inspection
rlFetchSrcForInstalled "${PACKAGE}" || dnf download --source "${PACKAGE}"
rlRun "find . -size 0 -delete" 0 "Remove empty src.rpm-s"
rlRun "dnf builddep -y --nogpgcheck ${PACKAGE}-*.src.rpm" 0 "Installing build dependencies"
rlRun "dnf builddep -y --nogpgcheck --nobest ${PACKAGE}-*.src.rpm" 0 "Installing build dependencies"
[ -d ${_BUILD_DIR} ] && rlRun "rm -rf ${_BUILD_DIR}/*" 0 "Cleaning build directory"
rlRun "rpm -ivh ${PACKAGE}-*.src.rpm" 0 "Installing source rpm"
rlPhaseEnd