diff --git a/SOURCES/0001-fix-typo-in-memhog.8.patch b/SOURCES/0001-fix-typo-in-memhog.8.patch new file mode 100644 index 0000000..664abdb --- /dev/null +++ b/SOURCES/0001-fix-typo-in-memhog.8.patch @@ -0,0 +1,26 @@ +From 66308a7e30a964aaad324f74c74eb5b9d75a2abd Mon Sep 17 00:00:00 2001 +From: Pingfan Liu +Date: Mon, 12 Jun 2023 21:15:39 +0800 +Subject: [PATCH] fix typo in memhog.8 + +Signed-off-by: Pingfan Liu +--- + memhog.8 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/memhog.8 b/memhog.8 +index e28e784..3846e08 100644 +--- a/memhog.8 ++++ b/memhog.8 +@@ -52,7 +52,7 @@ thread is running on) + # Allocate a 1G region, mmap backed by memhog.mmap file, membind to node 0, repeat test 6 times + memhog -r6 1G --membind 0 -fmemhog.mmap + .TP +-# Allocate a 1G region, iterleave across nodes 0,1,2,3, repeat test 4 times ++# Allocate a 1G region, interleave across nodes 0,1,2,3, repeat test 4 times + memhog -r4 1G --interleave 0-3 + .TP + # Allocate a 1G region, (implicit) default policy, repeat test 8 times +-- +2.31.1 + diff --git a/SPECS/numactl.spec b/SPECS/numactl.spec index 45b6539..3810a4f 100644 --- a/SPECS/numactl.spec +++ b/SPECS/numactl.spec @@ -1,7 +1,7 @@ Name: numactl Summary: Library for tuning for Non Uniform Memory Access machines Version: 2.0.16 -Release: 1%{?dist} +Release: 4%{?dist} # libnuma is LGPLv2 and GPLv2 # numactl binaries are GPLv2 only License: GPLv2 @@ -37,6 +37,7 @@ ExcludeArch: s390 %{arm} # # Patches 601 onward are generic patches # +Patch601: 0001-fix-typo-in-memhog.8.patch @@ -67,6 +68,7 @@ Provides development headers for numa library calls %setup -q -n %{name}-%{version} #patch +%patch601 -p1 %build @@ -112,6 +114,10 @@ make DESTDIR=$RPM_BUILD_ROOT install %{_mandir}/man3/*.3* %changelog +* Thu Sep 14 2023 Pingfan Liu - 2.0.16-2 +- fix typo in memhog.8 +- Remove contained patches + * Wed May 12 2021 Pingfan Liu - 2.0.12-13 - libnuma: make numa_police_memory() free of race