forked from pool/numactl
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
This commit is contained in:
parent
0660c5f99b
commit
0bdd87ceac
6
_service
6
_service
@ -4,13 +4,13 @@
|
||||
<param name="url">https://github.com/numactl/numactl</param>
|
||||
<param name="subdir"></param>
|
||||
<param name="filename">numactl</param>
|
||||
<param name="versionformat">2.0.11</param>
|
||||
<param name="versionformat">2.0.12</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">ea3a70681c2f523fe58e1d44527f478ca76db74e</param>
|
||||
<param name="revision">841253d1313b01a968c380cae4f498f20c46e5aa</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">numactl*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/numactl/numactl</param>
|
||||
<param name="changesrevision">ea3a70681c2f523fe58e1d44527f478ca76db74e</param></service></servicedata>
|
||||
<param name="changesrevision">841253d1313b01a968c380cae4f498f20c46e5aa</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bffb1bff87c12b153ca9c6a8e8c58946c8848f1007d31209e72106e3ff4fec2f
|
||||
size 81764
|
3
numactl-2.0.12.tar.gz
Normal file
3
numactl-2.0.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44c88648910f9c310fc3d8c717f43fff83ff194a3812daf72cc524ca30de5a38
|
||||
size 94384
|
@ -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
|
||||
|
||||
|
11
numactl.spec
11
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 <sys/sysmacros.h> 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
|
||||
|
@ -9,11 +9,11 @@ Signed-off-by: Thomas Renninger <trenn@suse.de>
|
||||
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";
|
||||
|
@ -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 <linux/rtnetlink.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
#include <regex.h>
|
Loading…
Reference in New Issue
Block a user