On Jul 10, 2009, at 6:32 PM, devzero2000 wrote:
> On Fri, Jul 10, 2009 at 9:25 PM, Michael Lasevich <firstname.lastname@example.org
> > wrote:
> I need to package an rpm that contains files with spaces in them.
> Sounds like it should be easy, but I am completely stuck. I tried
> the backslash escape, I tried putting the filename in double quotes
> - nothing seems to work. I ran into this a number of times over the
> years and normally I would just rename the file, but in this
> particular case that is not an option.
> I can't believe that rpm cannot handle this, which means there has
> to be an escape scheme that I am missing here. Google turned up zilch.
> Any help would be appreciated.
> If it matters, I am using rpm-22.214.171.124-9.el5
> SIA. Not problem at all to answer BUT perhaps you have written to
> the wrong mailing list ? This is RPM5 : some years of development
> have passed from rpm 4.4.2.x.y.z. Just for curiosity.
Well the answer is gonna be the same.
Either use globs in %files to never mention white space.
Or insert the file path within double quotes "...".
73 de Jeff
Received on Sat Jul 11 01:59:19 2009