From: Adam Dickmeiss Date: Mon, 12 Jan 2009 21:33:04 +0000 (+0100) Subject: Fixup for BuildRequires: tcpd-devel or tcp_wrappers-devel X-Git-Tag: v3.0.42~20 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ad75101cb137ab43f2b7e6a0dab7b1efe30b02a7;p=yaz-moved-to-github.git Fixup for BuildRequires: tcpd-devel or tcp_wrappers-devel --- diff --git a/yaz.spec.in b/yaz.spec.in index a1abf66..8b4b63f 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -8,7 +8,11 @@ Group: Applications/Internet Vendor: Index Data ApS Source: yaz-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: libxml2-devel libxslt-devel tcp_wrappers gnutls-devel readline-devel libicu-devel +%define TCPWRAPPER tcpd-devel +%if "%{_vendor}" == "redhat" +%define TCPWRAPPER tcp_wrappers-devel +%endif +BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER} Packager: Adam Dickmeiss URL: http://www.indexdata.dk/yaz/