[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re: basic question - space in file name



On 10/30/06, Paul Flores <flores_p_a yahoo com> wrote:
Double quoting doesn't work or at least I can't get it too work!

In documentation the implication is that the expectation is that filenames
in a SPEC file can be space delimited allowing for more than one file to be
included on one line.  It appears that the rpmbuild command is explicitly
looking for spaces which defeats both double quoting and escaping spaces.


WORKSFORME.

I just checked a spec file with

  %install
   ...
   touch %{buildroot}%{_bindir}/file\ with\ spaces
   ...

  %files
   ...
   "%{_bindir}/file with spaces"

and produced this package

   $ rpm -qpl foo*.i386.rpm
   ...
   /usr/bin/file with spaces

73 de Jeff


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]