Re: how to get a specfile from an RPM

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

 



On Wed, Aug 15, 2007 at 04:59:15PM +0800, Ed Greshko wrote:

> I don't think the quotes are needed, although they couldn't hurt.  The *spec
> is a parameter to cpio telling it what files to extract so I don't think
> having another .spec in your directory will hurt.  In fact, I tried it both
> quoted and unquoted with another spec file in my current directory and the
> results are the same.  Care to share your concern?

They are needed, as wildcards are interpreted by the shell, not by the
program (unlike in DOS (and Windows?), where wildcards were interpreted
by the program, not by the interpreter.

Go to a directory without spec files, do a "touch dummy.spec", then do
the command and see what happens ;-).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux