~ubuntu-branches/ubuntu/trusty/openerp-client/trusty

« back to all changes in this revision

Viewing changes to rpminstall_sh.txt

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-12-07 20:17:00 UTC
  • Revision ID: james.westby@ubuntu.com-20081207201700-a875pic3sd7xkoru
Tags: upstream-5.0.0~alpha
ImportĀ upstreamĀ versionĀ 5.0.0~alpha

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This file is used by 'python setup.py bdist_rpm'
 
3
# You should not execute/call this file yourself.
 
4
#
 
5
# This script is used as the 'install' part of the RPM .spec file.
 
6
#
 
7
# Need to overwrite the install-part of the RPM to append the
 
8
# compression-suffix onto the filenames for the man-pages.
 
9
#
 
10
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
 
11
 
 
12
SUFFIX=bz2
 
13
mv INSTALLED_FILES INSTALLED_FILES.orig
 
14
sed "s!\(/share/man/.*\)!\1.$SUFFIX!" INSTALLED_FILES.orig > INSTALLED_FILES