import CS numactl-2.0.19-1.el9

This commit is contained in:
eabdullin 2025-03-11 07:51:25 +00:00
parent d22f10a160
commit 8390451f96
4 changed files with 17 additions and 36 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/numactl-2.0.16.tar.gz
SOURCES/numactl-2.0.19.tar.gz

View File

@ -1 +1 @@
37ea1a333827f279e940bf0ae55d6897b331f19f SOURCES/numactl-2.0.16.tar.gz
661a2cf7ad9f3f8e31e52ecf5017e521e7b97028 SOURCES/numactl-2.0.19.tar.gz

View File

@ -1,26 +0,0 @@
From 66308a7e30a964aaad324f74c74eb5b9d75a2abd Mon Sep 17 00:00:00 2001
From: Pingfan Liu <piliu@redhat.com>
Date: Mon, 12 Jun 2023 21:15:39 +0800
Subject: [PATCH] fix typo in memhog.8
Signed-off-by: Pingfan Liu <piliu@redhat.com>
---
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

View File

@ -1,10 +1,10 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.16
Release: 3%{dist}
Version: 2.0.19
Release: 1%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
License: LGPL-2.1-only and GPL-2.0-only
URL: https://github.com/numactl/numactl
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
@ -37,7 +37,8 @@ ExcludeArch: s390 %{arm}
#
# Patches 601 onward are generic patches
#
Patch601: 0001-fix-typo-in-memhog.8.patch
#Patch601: 0001-fix-typo-in-memhog.8.patch
%description
@ -47,7 +48,7 @@ other programs with a specific NUMA policy.
%package libs
Summary: libnuma libraries
# There is a tiny bit of GPLv2 code in libnuma.c
License: LGPLv2 and GPLv2
License: LGPL-2.1-only and GPL-2.0-only
%description libs
numactl-libs provides libnuma, a library to do allocations with
@ -56,16 +57,16 @@ NUMA policy in applications.
%package devel
Summary: Development package for building Applications that use numa
Requires: %{name}-libs = %{version}-%{release}
License: LGPLv2 and GPLv2
License: LGPL-2.1-only and GPL-2.0-only
%description devel
Provides development headers for numa library calls
%prep
%autosetup
# Fix the missing of standard autotools auxiliary files
autoreconf -i
#patch
#%patch601 -p1
%build
%configure --prefix=/usr --libdir=%{_libdir}
@ -108,6 +109,12 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Mon Nov 18 2024 Pingfan Liu <piliu@redhat.com> - 2.0.19-1
- rebase to v2.0.19
* Tue Jul 30 2024 Pingfan Liu <piliu@redhat.com> - 2.0.18-1
- rebase to v2.0.18
* Thu Sep 14 2023 Pingfan Liu <piliu@redhat.com> - 2.0.16-2
- fix typo in memhog.8