construct to do 'if not' in rpm specs

Peter Gordon peter at thecodergeek.com
Sat Jun 2 02:14:47 UTC 2007


On Fri, 2007-06-01 at 17:28 -0700, Toshio Kuratomi wrote:
> %if %{value}
>   %if ! %{othervalue}
>     stuff
>   %endif
> %endif

RPM conditionals and simplicity hand-in-hand...who knew? :)

Thanks, Toshio.
-- 
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
My Blog: http://thecodergeek.com/blog/

-------------- 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-devel-list/attachments/20070601/b5c4b2db/attachment.sig>


More information about the fedora-devel-list mailing list