How to make a selective spec file

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Fri Feb 3 19:37:51 UTC 2006


On Fri, 2006-02-03 at 20:29 +0100, Eric Tanguy wrote:
> I would like to make only one spec taking into account the system build
> is devel/fc5 or fc3/fc4.
> How to make this ?
> In devel/fc5 i need to have :
> %configure CXXFLAGS="${RPM_OPT_FLAGS} -ffriend-injection"
> and in fc3/fc4 i need to have : 
> %configure

No, the variable only comes after the command with make. Everything else
needs it before.

Anyways...

http://fedoraproject.org/wiki/DistTag

-- 
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/20060203/f49d3c63/attachment.sig>


More information about the fedora-extras-list mailing list