# Build an RPM containing both wxGTK and wxPython
##set -o xtrace
+##set -o errexit
spectemplate=distrib/wxPythonFull.spec.in
rm -f ChangeLog
rm *.spec
rm -rf distrib/msw/tmake
- rm -rf docs/html
+ #rm -rf docs/html
#rm -rf docs/latex
#rm -rf contrib/docs
#rm -rf contrib/samples
#----------------------------------------------------------------------
# build the RPM
-if [ -z "${skiprpm}" ]; then
+if [ "${skiprpm}" != "1" ]; then
echo "*** Building RPMs..."
cp ${distdir}/${tarver}.tar.bz2 ${rpmtop}/SOURCES