X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/357262e4a1ba5b056fde35a4d3e552a0e14db938..4e3ad7c095f0a047b48445d76316fc20f394f3e9:/wxPython/distrib/makerpm?ds=sidebyside diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index b7d5f80a95..ccb1f5bb9e 100755 --- a/wxPython/distrib/makerpm +++ b/wxPython/distrib/makerpm @@ -54,6 +54,7 @@ version=$2 pyver=$3 shift;shift;shift +ver2=`echo ${version} | cut -c 1,2,3` tarver=${tarname}-${version} @@ -74,6 +75,7 @@ function makespec { | sed s:@LCPORT@:${lcport}:g \ | sed s:@TARNAME@:${tarname}:g \ | sed s:@VERSION@:${version}:g \ + | sed s:@VER2@:${ver2}:g \ > ${distdir}/wxPython${port}.spec } @@ -136,7 +138,9 @@ if [ -z "${skipcvs}" ]; then rm `find . -name .cvsignore` rm *.spec rm -rf demos -# rm -rf docs +# rm -rf docs + rm -rf docs/html + rm -rf docs/latex rm -rf samples rm -rf utils # rm -rf include/wx/mgl @@ -146,6 +150,7 @@ if [ -z "${skipcvs}" ]; then # rm -rf src/motif # rm -rf src/os2 rm -rf wxPython/wxSWIG + rm -rf wxPython/tests popd > /dev/null popd > /dev/null @@ -156,6 +161,8 @@ fi # Make the spec file and copy to ${builddir}/${tarver} so it will be # in the tar file when it's built +# TODO? Output all combinations of spec files to put in the tar file?? + makespec cp ${distdir}/wxPython${port}.spec ${builddir}/${tarver}/wxPython${port}.spec