On Sat, Apr 4, 2020 at 4:32 AM Aleksandra Fedorova <alpha@bookwar.info> 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