On Friday 03 December 2010 11:34:50 Miroslav Suchý wrote:
> commit eede1380199aa1f8d561dea0d753970fcbc1fd30
> Author: Miroslav SuchÜ <msu...@redhat.com>
> Date:   Fri Dec 3 11:33:08 2010 +0100
> 
>     on el5 do not send IPv6 addresses
> 
>     this will require python-ethtool >= 0.4, which will require libnl >=
> 1.1, which is not there so on el5 we will get here
>     AttributeError: 'module' object has no attribute 'get_interfaces_info'
>     lets ignore it.
> 
> diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec
> b/client/rhel/rhn-client-tools/rhn-client-tools.spec index
> d97c8e0..3e8668a 100644
> --- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
> +++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
> @@ -15,7 +15,11 @@ BuildRequires: update-desktop-files
>  Requires: rhnlib >= 2.5.20
>  Requires: rpm >= 4.2.3-24_nonptl
>  Requires: rpm-python
> +%if 0%{?rhel} && 0%{?rhel} <= 5
> +Requires: python-ethtool
> +%else
>  Requires: python-ethtool >= 0.4
> +%endif

We don't have python-ethtool >= 0.4 on RHEL-6 and this change breaks
dependencies in Spacewalk client repo for RHEL-6.

-MZ

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to