[procps/f16] fix #723164 - vmstat -t option does not work
Jaromír Cápík
jcapik at fedoraproject.org
Thu Oct 27 15:28:10 UTC 2011
commit ca8e7e7b0afaaf9fb2cf50c7f0f5ec273d40c710
Author: Jaromir Capik <jcapik at redhat.com>
Date: Thu Oct 27 17:28:02 2011 +0200
fix #723164 - vmstat -t option does not work
procps-3.2.7-vmstat-timestamp-getopt.patch | 12 ++++++++++++
procps.spec | 15 ++++++++-------
2 files changed, 20 insertions(+), 7 deletions(-)
---
diff --git a/procps-3.2.7-vmstat-timestamp-getopt.patch b/procps-3.2.7-vmstat-timestamp-getopt.patch
new file mode 100644
index 0000000..2b2ad7f
--- /dev/null
+++ b/procps-3.2.7-vmstat-timestamp-getopt.patch
@@ -0,0 +1,12 @@
+diff -Naur procps-3.2.8-20110302git.orig/vmstat.c procps-3.2.8-20110302git/vmstat.c
+--- procps-3.2.8-20110302git.orig/vmstat.c 2011-10-27 16:55:48.000000000 +0200
++++ procps-3.2.8-20110302git/vmstat.c 2011-10-27 17:02:03.143241443 +0200
+@@ -615,7 +615,7 @@
+ char *partition = NULL;
+ int c;
+
+- while((c = getopt(argc, argv, "VdafmDnp:S:s")) != EOF) switch(c) {
++ while((c = getopt(argc, argv, "VdafmDnp:S:st")) != EOF) switch(c) {
+ case 'V':
+ display_version();
+ exit(0);
diff --git a/procps.spec b/procps.spec
index d7bc803..2130aea 100644
--- a/procps.spec
+++ b/procps.spec
@@ -3,13 +3,12 @@
Summary: System and process monitoring utilities
Name: procps
Version: 3.2.8
-Release: 23.%{gitver}%{?dist}
+Release: 24.%{gitver}%{?dist}
License: GPLv2+ and LGPLv2+
Group: Applications/System
URL: http://gitorious.org/procps
Source: procps-%{version}-%{gitver}.tar.gz
Source1: FAQ
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -73,7 +72,8 @@ Patch48: procps-3.2.8-w-envlength.patch
Patch49: procps-3.2.8-top-swap.patch
#711192 - "Non-standard uts for running kernel" with linux 3.0
Patch50: procps-3.2.8-kernel3-uts.patch
-
+#723164 - vmstat -t option does not work
+Patch51: procps-3.2.7-vmstat-timestamp-getopt.patch
BuildRequires: ncurses-devel libselinux-devel
@@ -140,6 +140,7 @@ System and process monitoring utilities development headers
%patch48 -p1
%patch49 -p1
%patch50 -p1
+%patch51 -p1
cp %SOURCE1 .
@@ -164,9 +165,6 @@ pushd %{buildroot}/%{_lib}
ln -s libproc-%{version}.so libproc.so
popd
-%clean
-rm -rf %{buildroot}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -185,11 +183,14 @@ rm -rf %{buildroot}
%attr(0644,root,root) %{_mandir}/man5/*
%files devel
-%defattr(-,root,root,-)
%{_includedir}/proc
/%{_lib}/libproc.so
%changelog
+* Thu Oct 27 2011 Jaromir Capik <jcapik at redhat.com> 3.2.8-24.20110302git
+- fix #723164 - vmstat -t option does not work
+- minor spec file changes according to the latest guidelines
+
* Wed Jun 29 2011 Jan Görig <jgorig at redhat.com> 3.2.8-23.20110302git
- libselinux is now linked in build time
More information about the scm-commits
mailing list