From 7657c9ac7c3d4555dd0bd1043a7b0d475e74e342 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 20 May 2009 10:09:52 +0200 Subject: [PATCH] Fix RPM build for RHEL 5.3 RHEL 5.3 does not have package tcp_wrappers-devel . Only tcp_wrappers which includes both run-time and lib/headers. Fedora core 9 differs from RHEL 5.3 in that respect. --- yaz.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaz.spec.in b/yaz.spec.in index a5bc682..116ba98 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -10,7 +10,8 @@ Source: yaz-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %define TCPWRAPPER tcpd-devel %if "%{_vendor}" == "redhat" -%define TCPWRAPPER tcp_wrappers-devel +# Fedora requires tcp_wrappers-devel . +%define TCPWRAPPER tcp_wrappers %endif BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER} Packager: Adam Dickmeiss -- 1.7.10.4