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