From 0bdd87ceacf345d90e3cd9f3d851208164eaec1ad2b1963352022272209e342e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 12 Nov 2018 06:00:45 +0000 Subject: [PATCH] Accepting request 647340 from home:SchoolGuy:branches:Base:System - Update to version 2.0.12: * Release numactl 2.0.12 * Cleanup whitespace from *.c and *.h files * Add Travis build status to numactl README * Convert README and INSTALL to Markdown * Remove `threadtest.c` * Remove `mkolddemo` script * Remove file TODO, which has outdated contents * Remove file DESIGN, which has no contents * Remove changelogs from the repository * Revert "make clearcache work on x86/PIC" * Add "NAME" section to numastat manpage * Allow building on ARM systems * Add pkg-config file for NUMA library * readdir_r(3) is deprecated, use readdir(3) instead * Avoid filename truncation in numastat * fix coding style in last change * Fix: numademo test between sparse nodes * Fix: allocation of dynamic array * Fix: numactl distance between sparse nodes * include sys/sysmacros.h for major/minor * make clearcache work on x86/PIC * Fix regress test for invalid hard code of nodenames * Fix end of line check in distance parsing * Optimize numa_distance check * affinity: Include sys/sysmacros.h to fix warning * numademo: Increase buffer to avoid theoretical buffer overflow * Check for invalid nodes in numa_distance OBS-URL: https://build.opensuse.org/request/show/647340 OBS-URL: https://build.opensuse.org/package/show/Base:System/numactl?expand=0&rev=70 --- _service | 6 +++--- _servicedata | 2 +- numactl-2.0.11.tar.xz | 3 --- numactl-2.0.12.tar.gz | 3 +++ numactl.changes | 32 ++++++++++++++++++++++++++++++++ numactl.spec | 11 ++++------- revert_date_in_numastat.patch | 8 ++++---- sysmacros.patch | 12 ------------ 8 files changed, 47 insertions(+), 30 deletions(-) delete mode 100644 numactl-2.0.11.tar.xz create mode 100644 numactl-2.0.12.tar.gz delete mode 100644 sysmacros.patch diff --git a/_service b/_service index fcb6215..3ff2df4 100644 --- a/_service +++ b/_service @@ -4,13 +4,13 @@ https://github.com/numactl/numactl numactl - 2.0.11 + 2.0.12 enable - ea3a70681c2f523fe58e1d44527f478ca76db74e + 841253d1313b01a968c380cae4f498f20c46e5aa numactl*.tar - xz + gz diff --git a/_servicedata b/_servicedata index 30c6d04..e965020 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/numactl/numactl - ea3a70681c2f523fe58e1d44527f478ca76db74e \ No newline at end of file + 841253d1313b01a968c380cae4f498f20c46e5aa \ No newline at end of file diff --git a/numactl-2.0.11.tar.xz b/numactl-2.0.11.tar.xz deleted file mode 100644 index 82c19d2..0000000 --- a/numactl-2.0.11.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bffb1bff87c12b153ca9c6a8e8c58946c8848f1007d31209e72106e3ff4fec2f -size 81764 diff --git a/numactl-2.0.12.tar.gz b/numactl-2.0.12.tar.gz new file mode 100644 index 0000000..57886a3 --- /dev/null +++ b/numactl-2.0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44c88648910f9c310fc3d8c717f43fff83ff194a3812daf72cc524ca30de5a38 +size 94384 diff --git a/numactl.changes b/numactl.changes index bd3b615..a6c72c0 100644 --- a/numactl.changes +++ b/numactl.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Nov 07 14:04:26 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 2.0.12: + * Release numactl 2.0.12 + * Cleanup whitespace from *.c and *.h files + * Add Travis build status to numactl README + * Convert README and INSTALL to Markdown + * Remove `threadtest.c` + * Remove `mkolddemo` script + * Remove file TODO, which has outdated contents + * Remove file DESIGN, which has no contents + * Remove changelogs from the repository + * Revert "make clearcache work on x86/PIC" + * Add "NAME" section to numastat manpage + * Allow building on ARM systems + * Add pkg-config file for NUMA library + * readdir_r(3) is deprecated, use readdir(3) instead + * Avoid filename truncation in numastat + * fix coding style in last change + * Fix: numademo test between sparse nodes + * Fix: allocation of dynamic array + * Fix: numactl distance between sparse nodes + * include sys/sysmacros.h for major/minor + * make clearcache work on x86/PIC + * Fix regress test for invalid hard code of nodenames + * Fix end of line check in distance parsing + * Optimize numa_distance check + * affinity: Include sys/sysmacros.h to fix warning + * numademo: Increase buffer to avoid theoretical buffer overflow + * Check for invalid nodes in numa_distance + ------------------------------------------------------------------- Wed Aug 1 14:14:39 UTC 2018 - schwab@suse.de diff --git a/numactl.spec b/numactl.spec index 8db5089..bef63d8 100644 --- a/numactl.spec +++ b/numactl.spec @@ -17,21 +17,19 @@ Name: numactl -Version: 2.0.11 +Version: 2.0.12 Release: 0 Summary: NUMA Policy Control License: GPL-2.0-only Group: System/Management -Url: http://oss.sgi.com/projects/libnuma/ -Source0: %{name}-%{version}.tar.xz +Url: https://github.com/numactl/numactl/releases +Source0: %{name}-%{version}.tar.gz Source2: baselibs.conf # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: revert_date_in_numastat.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch Patch2: numactl-clearcache-pie.patch -# PATCH-FIX-UPSTREAM Include for major/minor -Patch3: sysmacros.patch %if 0%{?suse_version} > 1110 BuildRequires: autoconf >= 2.64 BuildRequires: automake @@ -69,7 +67,6 @@ individual NUMA policy in applications. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build %if 0%{?suse_version} > 1110 @@ -92,7 +89,6 @@ rm -f %{buildroot}/%{_libdir}/lib*a %defattr(-,root,root) %{_bindir}/* %{_mandir}/man8/* -%doc CHANGES %files -n libnuma1 %defattr(-,root,root) @@ -103,5 +99,6 @@ rm -f %{buildroot}/%{_libdir}/lib*a %{_mandir}/man3/* %{_includedir}/* %{_libdir}/lib*so +%{_libdir}/pkgconfig/numa.pc %changelog diff --git a/revert_date_in_numastat.patch b/revert_date_in_numastat.patch index 3611a4a..4a5a8f3 100644 --- a/revert_date_in_numastat.patch +++ b/revert_date_in_numastat.patch @@ -9,11 +9,11 @@ Signed-off-by: Thomas Renninger numastat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: numactl-2.0.9/numastat.c +Index: numactl-2.0.12/numastat.c =================================================================== ---- numactl-2.0.9.orig/numastat.c -+++ numactl-2.0.9/numastat.c -@@ -725,7 +725,7 @@ double huge_page_size_in_bytes = 0; +--- numactl-2.0.12.orig/numastat.c ++++ numactl-2.0.12/numastat.c +@@ -675,7 +675,7 @@ double huge_page_size_in_bytes = 0; void display_version_and_exit() { char *version_string = "20130723"; diff --git a/sysmacros.patch b/sysmacros.patch deleted file mode 100644 index 4de31da..0000000 --- a/sysmacros.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: numactl-2.0.11/affinity.c -=================================================================== ---- numactl-2.0.11.orig/affinity.c -+++ numactl-2.0.11/affinity.c -@@ -40,6 +40,7 @@ - #include - #include - #include -+#include - #include - #include - #include