Re: construct to do 'if not' in rpm specs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 01 June 2007 20:11:32 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...

Thanks for the suggestions, however I realized I needed to to do something 
slightly different, and could use a comparison for it:

%if value
%if 0{?%rhel} > 4
stuff
%endif
%endif

-- 
Jesse Keating
Release Engineer: Fedora

Attachment: pgp2spZu3Ffb5.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux