[python-ethtool/el5/master] Force pkgconfig and gcc build dependencies in this EPEL5 branch

dsommers dsommers at fedoraproject.org
Mon Jan 24 18:51:57 UTC 2011


commit 9c9501b9ac518bc81f1aed3a99e9719183cae169
Author: David Sommerseth <davids at redhat.com>
Date:   Mon Jan 24 19:44:12 2011 +0100

    Force pkgconfig and gcc build dependencies in this EPEL5 branch

 python-ethtool.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python-ethtool.spec b/python-ethtool.spec
index 01b054a..774ead4 100644
--- a/python-ethtool.spec
+++ b/python-ethtool.spec
@@ -4,16 +4,14 @@
 Summary: Ethernet settings python bindings
 Name: python-ethtool
 Version: 0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://fedorapeople.org/gitweb?p=dsommers/public_git/python-ethtool.git;a=summary
 Source: http://dsommers.fedorapeople.org/python-ethtool/%{name}-%{version}.tar.bz2
 Patch0: python-ethtool-libnl-1.0-support.patch
 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
@@ -49,6 +47,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Mon Jan 24 2011 David Sommerseth <dazo at users.sourceforge.net> - 0.6-2
+- Force pkgconfig and gcc as BuildRequire in EPEL builds
+
 * Wed Jan 19 2011 David Sommerseth <dazo at users.sourceforge.net> - 0.6-1
 - Don't segfault if we don't receive any address from rtnl_link_get_addr()
 - Remove errornous file from MANIFEST


More information about the scm-commits mailing list