On Mon, 25 Nov 2019 01:32:38 +0000
Sérgio Basto <[email protected]> wrote:

> On Sun, 2019-11-24 at 11:04 -0700, stan wrote:
> > As the subject says, I see the %if 0%{?fedora} statement in the spec
> > file, and I thought I knew what it meant, but the latest additions
> > to the spec file have caused me to question that.
> > 
> > My interpretation is that without the 0, it is checking whether it
> > is running on fedora.  With the zero, it is ignoring the branch and
> > either
> > skipping the guarded statements or taking the else.  Is this
> > correct?  
> 
> 0 is for when %{?fedora} is not defined , without 0 for example the
> build on el will fail with one scriplet syntax error.

Thanks, now I know.
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to