On Sat, Apr 4, 2020 at 4:32 AM Aleksandra Fedorova <alpha@xxxxxxxxxxxx> wrote:
Something like:
%if 0%{?fedora} > 0
%define_cond docs 1
%define_cond tests 1
%endif
%if 0%{?rhel} > 0
%define_cond docs 0
%define_cond tests 1
%endif
Isn't the >0 superfluous? Just the "%if 0%{?fedora}" will evaluate as TRUE.
Thanks,
Richard
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx