rpms/procps/devel procps-3.2.7-top-cpuint.patch, NONE, 1.1 procps.spec, 1.67, 1.68
Tomas Smetana (tsmetana)
fedora-extras-commits at redhat.com
Fri Jan 11 07:47:12 UTC 2008
- Previous message (by thread): rpms/ruby-RMagick/devel .cvsignore, 1.4, 1.5 ruby-RMagick.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/initscripts/OLPC-2 initscripts-8.54.1-olpc.patch, 1.13, 1.14 initscripts.spec, 1.164, 1.165
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tsmetana
Update of /cvs/pkgs/rpms/procps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14457
Modified Files:
procps.spec
Added Files:
procps-3.2.7-top-cpuint.patch
Log Message:
* Fri Jan 11 2008 Tomas Smetana <tsmetana at redhat.com> 3.2.7-18
- fix displaying the CPU column as integer (related #354001)
- don't install slabtop -- there's no /proc/slabinfo
procps-3.2.7-top-cpuint.patch:
--- NEW FILE procps-3.2.7-top-cpuint.patch ---
diff -up procps-3.2.7/top.c.cpuint procps-3.2.7/top.c
--- procps-3.2.7/top.c.cpuint 2008-01-11 08:32:44.000000000 +0100
+++ procps-3.2.7/top.c 2008-01-11 08:32:52.000000000 +0100
@@ -1824,7 +1824,7 @@ static void configs_read (void)
if(Rc.mode_irixps && smp_num_cpus>1){
// good for 100 CPUs per process
pcpu_max_value = 9999.0;
- Fieldstab[P_CPU].fmts = " %4.0f";
+ Fieldstab[P_CPU].fmts = " %4.1f";
}
// lastly, establish the true runtime secure mode and delay time
Index: procps.spec
===================================================================
RCS file: /cvs/pkgs/rpms/procps/devel/procps.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- procps.spec 12 Sep 2007 13:15:56 -0000 1.67
+++ procps.spec 11 Jan 2008 07:46:33 -0000 1.68
@@ -1,7 +1,7 @@
Summary: System and process monitoring utilities
Name: procps
Version: 3.2.7
-Release: 17%{?dist}
+Release: 18%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://procps.sourceforge.net
@@ -64,6 +64,9 @@
Patch30: procps-3.2.7-ps-libselinux.patch
#185994 - error when using "Single Cpu = Off" option
Patch31: procps-3.2.7-top-cpu0.patch
+#354001 - CPU value in top is reported as an integer
+Patch32: procps-3.2.7-top-cpuint.patch
+
BuildRequires: ncurses-devel
@@ -120,6 +123,7 @@
%patch29 -p1
%patch30 -p1
%patch31 -p1
+%patch32 -p1
cp %SOURCE1 .
@@ -128,7 +132,8 @@
%install
rm -rf %{buildroot}
-make ldconfig=true DESTDIR=%{buildroot} lib64=%{_lib} install="install -D" SKIP="/bin/kill /usr/share/man/man1/kill.1" install
+make ldconfig=true DESTDIR=%{buildroot} lib64=%{_lib} install="install -D" \
+ SKIP="/bin/kill /usr/share/man/man1/kill.1 /usr/bin/slabtop /usr/share/man/man1/slabtop.1" install
mkdir -p %{buildroot}/%{_docdir}/procps-%{version}
# keep 'rpm' happy...
chmod -R u+w %{buildroot}/sbin
@@ -157,6 +162,10 @@
%attr(0644,root,root) %{_mandir}/man5/*
%changelog
+* Fri Jan 11 2008 Tomas Smetana <tsmetana at redhat.com> 3.2.7-18
+- fix displaying the CPU column as integer (related #354001)
+- don't install slabtop -- there's no /proc/slabinfo
+
* Wed Sep 12 2007 Tomas Smetana <tsmetana at redhat.com> 3.2.7-17
- fix #185994 - top "Cpu0" line never updates when using
"Single Cpu = Off" option on single processor machine
- Previous message (by thread): rpms/ruby-RMagick/devel .cvsignore, 1.4, 1.5 ruby-RMagick.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/initscripts/OLPC-2 initscripts-8.54.1-olpc.patch, 1.13, 1.14 initscripts.spec, 1.164, 1.165
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list