spec file question

Quentin Spencer qspencer at ieee.org
Tue Aug 16 15:50:09 UTC 2005


I'm working on a spec file with a line that looks something like this 
(borrowed from a Debian package):
cc -shared -Wl,-soname=<name> -o <target> tmp/*.o -lm

When I run rpmbuild, the line run like this:
cc -shared -Wl,-soname=<name> -o <target> 'tmp/*.o' -lm

and the result is that the command fails because of the single quotes 
around 'tmp/*.o'. I suppose I could replace it with `ls tmp/*.o` or 
something, but I find this odd. Why does RPM insert the quotes, and is 
there a way to prevent this?

-Quentin




More information about the fedora-extras-list mailing list