From 5e1e3900c27f874afdd7a45296bcf734650617e0 Mon Sep 17 00:00:00 2001 From: Miroslav Suchy Date: Fri, 3 Dec 2010 10:26:33 +0100 Subject: [PATCH] Add BuildRequires for RHEL5 Signed-off-by: David Sommerseth --- python-ethtool.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-ethtool.spec b/python-ethtool.spec index 76a4dfe..ede5305 100644 --- a/python-ethtool.spec +++ b/python-ethtool.spec @@ -10,6 +10,9 @@ Source: http://dsommers.fedorapeople.org/python-ethtool/%{name}-%{version}.tar.b License: GPLv2 Group: System Environment/Libraries BuildRequires: python-devel libnl-devel +%if 0%{?rhel} && 0%{?rhel} < 5 +BuildRequires: pkgconfig gcc +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description