%{SOURCEn} versus $RPM_SOURCE_DIR

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Sun Feb 19 04:14:52 UTC 2006


On Sat, 2006-02-18 at 22:02 -0600, Jason L Tibbitts III wrote:
> Say a package has a source file:
> 
> Source1: blah
> 
> Is there a preference between referring to %{SOURCE1} and using
> $RPM_SOURCE_DIR/blah?

%{SOURCE1} will always refer to Source1 regardless of what "blah" may
be. It's also more concise.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060218/2378d147/attachment.sig>


More information about the fedora-extras-list mailing list