From 8a26576a7adf8cdec539d24055cff561020e6bc6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 14 Jan 2011 15:43:53 +0100 Subject: [PATCH] Multiple BuildRequires --- yaz.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/yaz.spec b/yaz.spec index a5205c4..5b5cab6 100644 --- a/yaz.spec +++ b/yaz.spec @@ -9,12 +9,18 @@ Vendor: Index Data ApS Source: yaz-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} -%define TCPWRAPPER tcpd-devel %if "%{_vendor}" == "redhat" # Fedora requires tcp_wrappers-devel . -%define TCPWRAPPER tcp_wrappers +BuildRequires: tcp_wrappers +%else +BuildRequires: tcpd-devel %endif -BuildRequires: pkgconfig, libxml2-devel, libxslt-devel, gnutls-devel, readline-devel, libicu-devel, %{TCPWRAPPER} +BuildRequires: pkgconfig +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: gnutls-devel +BuildRequires: readline-devel +BuildRequires: libicu-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yaz -- 1.7.10.4