[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: proper way to distinguish epel from fedora
- From: Rex Dieter <rdieter math unl edu>
- To: epel-devel-list redhat com
- Subject: Re: proper way to distinguish epel from fedora
- Date: Tue, 10 Nov 2009 22:08:07 -0600
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]