|
|
@ -70,11 +70,13 @@ EOF
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
set -x
|
|
|
|
set -x
|
|
|
|
|
|
|
|
(
|
|
|
|
rpmbuild -ba \
|
|
|
|
rpmbuild -ba \
|
|
|
|
--define "_sourcedir ${PWD}/${COMP}" \
|
|
|
|
--define "_sourcedir ${PWD}/${COMP}" \
|
|
|
|
--define "_prefix ${PREFIX:-/opt/trinity}" \
|
|
|
|
--define "_prefix ${PREFIX:-/opt/trinity}" \
|
|
|
|
--define "version ${VERSION:-3.5.13}" \
|
|
|
|
--define "version ${VERSION:-3.5.13}" \
|
|
|
|
${COMP}/${SPEC} || exit 1
|
|
|
|
${COMP}/${SPEC} || exit 1
|
|
|
|
|
|
|
|
) 2>&1 | tee /tmp/log
|
|
|
|
set +x
|
|
|
|
set +x
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|