get_binary_size is renamed bin_size and its behavior is reversed (False by default)
[openerp-client.git] / rpminstall_sh.txt
blob408407657fb3edb44ef9f5ed234bc1ea4a9cd3e1
2 # This file is used by 'python setup.py bdist_rpm'
3 # You should not execute/call this file yourself.
5 # This script is used as the 'install' part of the RPM .spec file.
7 # Need to overwrite the install-part of the RPM to append the
8 # compression-suffix onto the filenames for the man-pages.
10 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
12 SUFFIX=bz2
13 mv INSTALLED_FILES INSTALLED_FILES.orig
14 sed "s!\(/share/man/.*\)!\1.$SUFFIX!" INSTALLED_FILES.orig > INSTALLED_FILES