Some distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7,7 +7,7 @@ Usage: genfilelist.py [-r] build_root filespec(s)
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
import sys, os, glob
|
import sys, os, glob, stat
|
||||||
|
|
||||||
|
|
||||||
def walktree(names, buildroot, recurse):
|
def walktree(names, buildroot, recurse):
|
||||||
@@ -25,7 +25,7 @@ def printfilename(name, buildroot, isdir):
|
|||||||
fmt = "%%dir %%attr(%o, root, root) %s"
|
fmt = "%%dir %%attr(%o, root, root) %s"
|
||||||
else:
|
else:
|
||||||
fmt = "%%attr(%o, root, root) %s"
|
fmt = "%%attr(%o, root, root) %s"
|
||||||
print fmt % (s.st_mode & 0777, realname)
|
print fmt % (s[stat.ST_MODE] & 0777, realname)
|
||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
|
@@ -21,7 +21,7 @@ cp -R samples _distrib_tgz/wxPython-$1
|
|||||||
rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
|
rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
|
rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
|
rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name core`
|
rm -f `find _distrib_tgz/wxPython-$1 -name "core*"`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
|
rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name "*.o"`
|
rm -f `find _distrib_tgz/wxPython-$1 -name "*.o"`
|
||||||
rm -f `find _distrib_tgz/wxPython-$1 -name "*.so"`
|
rm -f `find _distrib_tgz/wxPython-$1 -name "*.so"`
|
||||||
|
@@ -144,6 +144,7 @@ cd $WXDIR/wxPython
|
|||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||||
for s in \
|
for s in \
|
||||||
|
helpviewer \
|
||||||
img2png \
|
img2png \
|
||||||
img2py \
|
img2py \
|
||||||
img2xpm \
|
img2xpm \
|
||||||
|
Reference in New Issue
Block a user