diff --git a/tests/source-highlight-testsuite/runtest.sh b/tests/source-highlight-testsuite/runtest.sh index a1e047d..877d4ee 100755 --- a/tests/source-highlight-testsuite/runtest.sh +++ b/tests/source-highlight-testsuite/runtest.sh @@ -53,7 +53,7 @@ rlJournalStart rlPhaseStartSetup "build source-highlight" rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm" rlRun "yum-builddep -y $TmpDir/SPECS/*.spec" - rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER" + rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp --undefine specpartsdir $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER" rlRun "rlFileSubmit $TmpDir/rpmbuild.log" rlRun "cd $TmpDir/BUILD/source-highlight-*" rlRun "su -c './configure --build=`arch`-redhat-linux-gnu &>$TmpDir/configure.log' $BUILD_USER"