Toshio Kuratomi wrote:
> This is also wrong because we want 0%{?rhel} <= 5.
> 
> To avoid having to specify negation I'd also reverse the condition:
> 
> %if 0%{?rhel} >= 5 || 0%{?fedora}
> BuildRequires: tcp_wrappers-devel
> %else
> BuildRequires: tcp_wrappers
> %endif

I'd spell the condition as:
%if 0%{?rhel} && 0{%?rhel} < 6
BuildRequires: tcp_wrappers
%else
BuildRequires: tcp_wrappers-devel
%endif

(Of course, this kind of stuff is why I don't maintain stuff in EPEL in the 
first place.)

        Kevin Kofler

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to