diff --git a/numactl-2.0.6-manpages.patch b/numactl-2.0.6-manpages.patch new file mode 100644 index 0000000..d18dad6 --- /dev/null +++ b/numactl-2.0.6-manpages.patch @@ -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 diff --git a/numactl.spec b/numactl.spec index 167f7e9..c65a015 100644 --- a/numactl.spec +++ b/numactl.spec @@ -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 - 2.0.6-2 +- Better manpages (bz 673613) + * Tue Feb 08 2011 Fedora Release Engineering - 2.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild