summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/dependencies/qt3/qt3.spec2
-rwxr-xr-xredhat/genrpm.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/redhat/dependencies/qt3/qt3.spec b/redhat/dependencies/qt3/qt3.spec
index 39786c99e..07485596d 100644
--- a/redhat/dependencies/qt3/qt3.spec
+++ b/redhat/dependencies/qt3/qt3.spec
@@ -4,7 +4,7 @@
%endif
# The following QT4 packages should NOT be installed to
-# allow QT3 compilation (please remove them prior to compile)
+# allow QT3 compilation (please uninstall them prior to compile)
# qt
# qt-sqlite
# qt-mysql
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 96d6ce7de..1a57dd898 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -70,11 +70,13 @@ EOF
esac
set -x
+ (
rpmbuild -ba \
--define "_sourcedir ${PWD}/${COMP}" \
--define "_prefix ${PREFIX:-/opt/trinity}" \
--define "version ${VERSION:-3.5.13}" \
${COMP}/${SPEC} || exit 1
+ ) 2>&1 | tee /tmp/log
set +x
done