forked from pool/numactl
Accepting request 626997 from Base:System
OBS-URL: https://build.opensuse.org/request/show/626997 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/numactl?expand=0&rev=56
This commit is contained in:
commit
5782940c29
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 1 14:14:39 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- sysmacros.patch: Include <sys/sysmacros.h> for major/minor
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 5 15:32:35 UTC 2018 - matwey.kornilov@gmail.com
|
Fri Jan 5 15:32:35 UTC 2018 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Name: numactl
|
|||||||
Version: 2.0.11
|
Version: 2.0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NUMA Policy Control
|
Summary: NUMA Policy Control
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Url: http://oss.sgi.com/projects/libnuma/
|
Url: http://oss.sgi.com/projects/libnuma/
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
@ -30,6 +30,8 @@ Patch0: revert_date_in_numastat.patch
|
|||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
# 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
|
Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
|
||||||
Patch2: numactl-clearcache-pie.patch
|
Patch2: numactl-clearcache-pie.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Include <sys/sysmacros.h> for major/minor
|
||||||
|
Patch3: sysmacros.patch
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
BuildRequires: autoconf >= 2.64
|
BuildRequires: autoconf >= 2.64
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -45,7 +47,7 @@ individual NUMA policy in applications.
|
|||||||
|
|
||||||
%package -n libnuma1
|
%package -n libnuma1
|
||||||
Summary: NUMA Policy Control
|
Summary: NUMA Policy Control
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
|
||||||
%description -n libnuma1
|
%description -n libnuma1
|
||||||
@ -54,7 +56,7 @@ individual NUMA policy in applications.
|
|||||||
|
|
||||||
%package -n libnuma-devel
|
%package -n libnuma-devel
|
||||||
Summary: NUMA Policy Control
|
Summary: NUMA Policy Control
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libnuma1 = %{version}
|
Requires: libnuma1 = %{version}
|
||||||
|
|
||||||
@ -67,6 +69,7 @@ individual NUMA policy in applications.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
|
12
sysmacros.patch
Normal file
12
sysmacros.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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