From ad75101cb137ab43f2b7e6a0dab7b1efe30b02a7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 12 Jan 2009 22:33:04 +0100 Subject: [PATCH] Fixup for BuildRequires: tcpd-devel or tcp_wrappers-devel --- yaz.spec.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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/ -- 1.7.10.4