client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++++-
client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 2 +-
rel-eng/packages/rhn-client-tools | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 44cceb4cbedf1669dd0fab128f44ceac2957149c
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Jul 4 07:44:18 2012 +0200
Automatic commit of package [rhn-client-tools] release [1.8.10-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec
b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index c36ef50..e701bf0 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL:
https://fedorahosted.org/spacewalk
Name: rhn-client-tools
-Version: 1.8.9
+Version: 1.8.10
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -339,6 +339,9 @@ make -f Makefile.rhn-client-tools test
%endif
%changelog
+* Wed Jul 04 2012 Miroslav Suchý <msuchy(a)redhat.com> 1.8.10-1
+- read memory information even on kernels 3.x
+
* Sat Jun 16 2012 Miroslav Suchý <msuchy(a)redhat.com> 1.8.9-1
- allow to set value on Debian
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index cf98028..6f01091 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.8.9-1 client/rhel/rhn-client-tools/
+1.8.10-1 client/rhel/rhn-client-tools/
commit 4e48c163ec27fa47389ee171cdb0952a25589b44
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Jul 4 07:43:49 2012 +0200
read memory information even on kernels 3.x
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
index 42b4423..6e4300c 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -338,7 +338,7 @@ def read_cpuinfo():
def read_memory():
un = os.uname()
kernel = un[2]
- if kernel[:3] == "2.6":
+ if kernel[:3] >= "2.6":
return read_memory_2_6()
if kernel[:3] == "2.4":
return read_memory_2_4()