better manpages, bz 673613

This commit is contained in:
Anton Arapov 2011-03-22 18:13:57 +01:00
parent 51bf9682c9
commit d56f792da9
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
diff -urpN numactl-2.0.6.orig/numactl.8 numactl-2.0.6/numactl.8
--- numactl-2.0.6.orig/numactl.8 2011-03-22 18:05:08.502017768 +0100
+++ numactl-2.0.6/numactl.8 2011-03-22 18:06:24.063017087 +0100
@@ -162,7 +162,7 @@ to specify the shared memory segment or
above (
.I \-\-interleave,
.I \-\-localalloc,
-.I \-\-prefered,
+.I \-\-preferred,
.I \-\-membind
).
.TP
@@ -258,7 +258,7 @@ numactl \-\-preferred=1 numactl \-\-show
Set preferred node 1 and show the resulting state.
numactl --interleave=all --shmkeyfile /tmp/shmkey
-Interleave all of the sysv shared memory regiion specified by
+Interleave all of the sysv shared memory region specified by
/tmp/shmkey over all nodes.
numactl --offset=1G --length=1G --membind=1 --file /dev/shm/A --touch

View File

@ -9,6 +9,7 @@ Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.
Buildroot: %{_tmppath}/%{name}-buildroot
Patch1: numactl-2.0.3-rc3-no-nodes-warning.patch
Patch2: numactl-2.0.6-manpages.patch
ExcludeArch: s390 s390x
@ -28,6 +29,7 @@ Provides development headers for numa library calls
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS -I."
@ -69,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
- Better manpages (bz 673613)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild