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. > _______________________________________________ > kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx -- Sérgio M. B. _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx