[FIX] correct RPM creation: quote files with a space

bzr revid: chs@openerp.com-20140114161304-tptm6tu2gk2z40j0
This commit is contained in:
Christophe Simonis 2014-01-14 17:13:04 +01:00
parent 86fb92d68a
commit 5a9a060706
1 changed files with 3 additions and 0 deletions

View File

@ -13,3 +13,6 @@ python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_F
SUFFIX=gz
sed "s!\(/share/man/.*\)!\1.$SUFFIX!" -i INSTALLED_FILES
# quote files with a space
sed 's/\(.* .*\)/"\1"/' -i INSTALLED_FILES