From: Adam Dickmeiss Date: Fri, 14 Jan 2011 14:43:53 +0000 (+0100) Subject: Multiple BuildRequires X-Git-Tag: v4.1.3~7 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=8a26576a7adf8cdec539d24055cff561020e6bc6 Multiple BuildRequires --- 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