construct to do 'if not' in rpm specs
Toshio Kuratomi
a.badger at gmail.com
Sat Jun 2 00:28:13 UTC 2007
On Fri, 2007-06-01 at 20:11 -0400, Jesse Keating wrote:
> I need to do a construct in an rpm spec:
>
> if value
> if not othervalue
> stuff
> endif
> endif
>
> but my google skills are lacking finding the construct to do a generic 'if
> not' in a spec file...
>
%if %{value}
%if ! %{othervalue}
stuff
%endif
%endif
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch10s06.html#id2981284
-Toshio
-------------- 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/2469dbac/attachment.sig>
More information about the fedora-devel-list
mailing list