~openerp-commiter/openobject-client/5.0-opw-52718-nch

« back to all changes in this revision

Viewing changes to rpminstall_sh.txt

  • Committer: Stephane Wirtel
  • Date: 2009-01-23 12:39:52 UTC
  • Revision ID: stephane@tinyerp.com-20090123123952-dde0y147324tg4dw
[FIX] Redhat Package Manager

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# Need to overwrite the install-part of the RPM to append the
8
8
# compression-suffix onto the filenames for the man-pages.
9
9
#
10
 
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
 
10
python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
11
11
 
12
12
SUFFIX=gz
13
 
mv INSTALLED_FILES INSTALLED_FILES.orig
14
 
sed "s!\(/share/man/.*\)!\1.$SUFFIX!" INSTALLED_FILES.orig > INSTALLED_FILES
 
13
sed "s!\(/share/man/.*\)!\1.$SUFFIX!" -i INSTALLED_FILES