BJ Dierkes wrote:
Is there any problem with:
%if %{el5}
ExcludeArch: ppc ppc64
%endif
preferable might be
%if 0%{?el5}
ExcludeArch: ppc ppc64
%endif
or
%if 0%{?rhel} == 5
ExcludeArch: ppc ppc64
%endif
these won't cause failures if the macro you're testing isn't defined.
-- Rex