Resolves: RHELMISC-5984 Fix CI tests better: Check for existence of directory instead of checking Fedora version.
This commit is contained in:
parent
20d3b41c16
commit
03845fa2d1
@ -13,10 +13,10 @@ rlJournalStart
|
|||||||
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
||||||
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
||||||
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
||||||
if [ ${FEDORA_VERSION} -le "40" ]; then
|
if [ -d BUILD/ibus-m17n-${VERSION}-build ]; then
|
||||||
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}"
|
|
||||||
else
|
|
||||||
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}-build/ibus-m17n-${VERSION}"
|
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}-build/ibus-m17n-${VERSION}"
|
||||||
|
else
|
||||||
|
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}"
|
||||||
fi
|
fi
|
||||||
rlRun "set -o pipefail"
|
rlRun "set -o pipefail"
|
||||||
rlRun -t -l "NOCONFIGURE=1 ./autogen.sh"
|
rlRun -t -l "NOCONFIGURE=1 ./autogen.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user