What does "%if 0%{?..." mean

Jonathan Ryshpan jonrysh at pacbell.net
Sat Jan 17 22:09:31 UTC 2009

I have a spec file with this text.
        %if 0%{?build_jack_svn}
        %define jack_revision 3190
        %define jack_version 0.116.1
        %define jack_svndate 20081206.171018
        %define jack_version 0.116.1

What does all this do?  I can't find the form "%if 0%{?mac}" defined
anywhere.  I assume it means the macro mac exists and has the value 0 
-- is this correct?

Thanks - jon

More information about the Rpm-list mailing list