Compare commits

...

73 Commits
f11 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
4f5555fd93 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:52:24 +00:00
Filipe Brandenburger
41810c0183 Upgrade numactl to 2.0.16
Also clean up specfile to remove directives that are no longer needed.

Fixes rhbz#1747368

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2022-10-08 22:13:52 +00:00
Fedora Release Engineering
80d26cc25d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:54:18 +00:00
Fedora Release Engineering
b55a2bf582 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:29:45 +00:00
Fedora Release Engineering
f8aba22277 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:24:11 +00:00
Fedora Release Engineering
546e5df3f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:45:51 +00:00
Tom Stellard
d94c41b073 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-07 06:03:56 +00:00
Florian Weimer
73865d1b19 Trigger rebuild to avoid DT_INIT/DT_FINI with zero values
This is the easiest way to get rid of a toolchain glitch, sorry.
2020-11-11 20:35:27 +01:00
Filipe Brandenburger
c5260c37ca Upgrade numactl to 2.0.14
Re-enable LTO, now that upstream has been fixed to support LTO builds.
(Thanks Jeff Law for the patch that fixed it!)

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2020-09-17 18:18:37 -07:00
Filipe Brandenburger
75238a36b6 Use %make_build and %make_install macros.
Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2020-09-17 18:18:37 -07:00
Filipe Brandenburger
d5b6ba4459 Use %autosetup in the %prep step.
Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2020-09-17 18:05:31 -07:00
Filipe Brandenburger
f82432f5b8 Use version macros in the source URLs.
One fewer place to update whenever a new release is out.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2020-09-17 18:05:31 -07:00
Filipe Brandenburger
8ef0b12494 Fix changelog to include description for 2.0.12-5
Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2020-09-17 18:05:31 -07:00
Fedora Release Engineering
3401e7590b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 11:57:41 +00:00
Jeff Law
96e360bbd3 Disable LTO 2020-07-01 15:15:55 -06:00
Fedora Release Engineering
db4e6050c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 19:18:44 +00:00
Fedora Release Engineering
0ce69dd0af - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 22:39:06 +00:00
Fedora Release Engineering
f5b5dd13ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 16:36:29 +00:00
Igor Gnatenko
ce96093692 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:22 +01:00
Igor Gnatenko
15feb4bf91
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:31 +01:00
Petr Holasek
22ece095ba new-sources were updated
Signed-off-by: Petr Holasek <holasekp@gmail.com>
2018-08-05 14:41:26 +02:00
Filipe Brandenburger
4f670473bc Update .gitignore
Include the typical tarball and expanded tree names, the build logs and the
arch-named directory where the binary RPMs are saved (for now I included only
x86_64, I guess including others should be fine too...)

Tested that after `fedpkg local` git status will not complain about the files
dropped into the git directory.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2018-07-25 11:01:48 -07:00
Filipe Brandenburger
fc5f7661b7 Upgrade numactl to 2.0.12
The existing patches can be dropped, since both are already present upstream
(and one of them wasn't being applied anyways.)

The newer config.{guess,sub} can also be dropped, since numactl 2.0.12 package
contains scripts dating from 2017-11, which contain riscv64 arch-specific bits.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2018-07-25 10:15:03 -07:00
Filipe Brandenburger
0673f33a6c Fix check-rpath which complains about /usr/lib64 in RPATH of some binaries
Use the recipe in here to fix the generated `libtool` script:
https://fedoraproject.org/wiki/RPath_Packaging_Draft#Removing_Rpath

Unfortunately, the configure script in numactl (both 2.0.11 and 2.0.12) does
not recognize the --disable-rpath flag yet.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
2018-07-25 09:40:46 -07:00
Fedora Release Engineering
321a201444 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 14:33:32 +00:00
Richard W.M. Jones
9d877ecfb4 Fix major/minor macros on glibc 2.27.
Update config.{guess,sub} with versions which understand riscv64.
Remove obsolete Buildroot tag.
2018-03-24 14:49:26 +00:00
Florian Weimer
a5202f3722 Use LDFLAGS from redhat-rpm-config 2018-02-24 12:06:50 +01:00
Igor Gnatenko
b6596df4db
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:26:22 +01:00
Igor Gnatenko
64a9642399
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:16 +01:00
Fedora Release Engineering
d57a115ed2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 08:32:12 +00:00
Fedora Release Engineering
485ebbfc07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:09:05 +00:00
Fedora Release Engineering
6f2496dfd9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:20:18 +00:00
Petr Holasek
162bc1b6d2 Resolves: bz1419064 2017-02-06 08:15:54 +01:00
Fedora Release Engineering
bcca29d235 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 10:58:59 +00:00
Petr Holasek
daf9de84de Resolves: bz1290941 2015-12-14 12:24:16 +01:00
Orion Poplawski
b1b8dfa59c Drop %defattr() 2015-10-16 13:13:45 -06:00
Dennis Gilmore
342afd8d76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 23:26:10 +00:00
Petr Holasek
55f858ba19 Release version bump 2014-10-13 10:45:07 +02:00
Petr Holasek
b3e4b739a6 Resolves: bz1151552 2014-10-13 10:31:51 +02:00
Petr Holasek
065d0a39a9 Fixes related to autotools introduced in 2.0.10 upstream
Signed-off-by: Petr Holasek <pholasek@redhat.com>
2014-10-10 01:02:10 +02:00
Petr Holasek
cc9c366586 Resolves: bz1150511 2014-10-08 14:57:21 +02:00
Peter Robinson
11f5651a66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 12:28:07 +00:00
Petr Holasek
267ede3def Resolves: bz1080421
Merge branch 'master' of ssh://pkgs.fedoraproject.org/numactl

Conflicts:
	numactl.spec
2014-07-31 15:59:25 +02:00
Petr Holasek
0bca0ad2b5 Resolves: bz1080421 2014-07-31 15:57:06 +02:00
Dennis Gilmore
43c21699a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:15:19 -05:00
Petr Holasek
e1255466db Rebase to version 2.0.9 2013-10-09 11:20:41 +02:00
Karsten Hopp
52d7a43757 rebuild in F20 to fix some dependency issues on PPC 2013-08-02 13:07:47 +02:00
Dennis Gilmore
25af0aa37d - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 02:48:08 -06:00
Petr Holasek
ce248208b3 fixed empty numastat file 2013-01-22 04:41:17 +01:00
Tom Callaway
cb198ee2d9 fix license issues 2012-11-01 09:47:20 -04:00
Petr Holasek
216f17b101 Resolves: bz865620
Signed-off-by: Petr Holasek <pholasek@redhat.com>
2012-10-26 14:14:51 +02:00
Dennis Gilmore
03ed0da483 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 00:34:19 -05:00
Petr Holasek
fae4fed9ba Resolves: bz823125, bz823127 2012-05-19 13:19:36 +02:00
Petr Holasek
765f1c8ba2 libnuma split out of numactl main package, bz799132 2012-04-15 13:29:05 +02:00
Dennis Gilmore
a30b57283d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 05:20:07 -06:00
Anton Arapov
631001330c bump version number
Signed-off-by: Anton Arapov <anton@redhat.com>
2012-01-02 13:24:37 +01:00
Anton Arapov
a27d58639d include missing manpages 2012-01-02 13:20:58 +01:00
Peter Robinson
5ed43fff98 Exclude ARM platforms 2011-06-18 12:18:33 +01:00
Anton Arapov
64cfa67a76 rebase to the latest upstream release 2011-04-15 09:17:41 +02:00
Anton Arapov
d56f792da9 better manpages, bz 673613 2011-03-22 18:13:57 +01:00
Dennis Gilmore
51bf9682c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 19:18:53 -06:00
Neil Horman
0b3bb49fa2 Resolves: bz666379 2011-01-04 16:13:38 -05:00
Neil Horman
031e79c42e Update numactl to the latest upstream stable source (version 2.0.5) 2010-10-18 15:40:39 -04:00
Fedora Release Engineering
6411e9f7ce dist-git conversion 2010-07-29 04:38:16 +00:00
Neil Horman
164d9e0dcb Resolves: bz556088 2010-02-15 16:33:49 +00:00
Bill Nottingham
e843dce6cf Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:20:14 +00:00
Neil Horman
ce67020455 Resolves: bz 516227 2009-08-10 14:06:26 +00:00
Neil Horman
05de204252 Resolves: bz 516223 2009-08-10 11:16:58 +00:00
Jesse Keating
0d7a4bfed6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 19:41:12 +00:00
Neil Horman
0acf02beb8 Resolves: bz506795 2009-06-26 15:57:41 +00:00
Neil Horman
40a16d8804 Resolves: bz506795 2009-06-26 15:48:16 +00:00
Neil Horman
8629a1779a Resolves: bz 499633) 2009-06-17 17:17:18 +00:00
Neil Horman
8749d6717f Resolves: bz 499633 2009-05-08 18:56:31 +00:00
10 changed files with 209 additions and 202 deletions

View File

@ -1 +0,0 @@
numactl-2.0.2.tar.gz

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/numactl-[2-9]*
/.build-[2-9]*.log
/x86_64/

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: numactl
# $Id: Makefile,v 1.1 2004/09/09 09:20:02 cvsdist Exp $
NAME := numactl
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,17 +0,0 @@
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
--- numactl-1.0.2/syscall.c.orig 2008-03-14 07:28:58.000000000 -0400
+++ numactl-1.0.2/syscall.c 2008-03-14 07:29:31.000000000 -0400
@@ -62,6 +62,13 @@
#define __NR_set_mempolicy 261
#define __NR_migrate_pages 258
+#elif defined(__alpha__)
+
+#define __NR_mbind 429
+#define __NR_get_mempolicy 430
+#define __NR_set_mempolicy 431
+#define __NR_migrate_pages 449
+
#elif !defined(DEPS_RUN)
#error "Add syscalls for your architecture or update kernel headers"
#endif

View File

@ -1,63 +0,0 @@
diff -up numactl-1.0.2/numactl.c.orig numactl-1.0.2/numactl.c
--- numactl-1.0.2/numactl.c.orig 2007-09-21 06:23:51.000000000 -0400
+++ numactl-1.0.2/numactl.c 2008-04-25 09:10:05.000000000 -0400
@@ -355,14 +355,14 @@ int main(int ac, char **av)
break;
case 'C': /* --physcpubind */
{
- int ncpus;
+ int bufsz;
unsigned long *cpubuf;
dontshm("-C/--physcpubind");
- cpubuf = cpumask(optarg, &ncpus);
+ cpubuf = cpumask(optarg, &bufsz);
errno = 0;
check_cpubind(do_shm);
did_cpubind = 1;
- numa_sched_setaffinity(0, CPU_BYTES(ncpus), cpubuf);
+ numa_sched_setaffinity(0, bufsz, cpubuf);
checkerror("sched_setaffinity");
free(cpubuf);
break;
diff -up numactl-1.0.2/util.h.orig numactl-1.0.2/util.h
--- numactl-1.0.2/util.h.orig 2007-08-16 10:36:23.000000000 -0400
+++ numactl-1.0.2/util.h 2008-04-25 09:10:05.000000000 -0400
@@ -1,7 +1,7 @@
extern void printmask(char *name, nodemask_t *mask);
extern void printcpumask(char *name, unsigned long *mask, int len);
extern nodemask_t nodemask(char *s);
-extern unsigned long *cpumask(char *s, int *ncpus);
+extern unsigned long *cpumask(char *s, int *bufsz);
extern int read_sysctl(char *name);
extern void complain(char *fmt, ...);
extern void nerror(char *fmt, ...);
diff -up numactl-1.0.2/util.c.orig numactl-1.0.2/util.c
--- numactl-1.0.2/util.c.orig 2007-08-16 10:36:23.000000000 -0400
+++ numactl-1.0.2/util.c 2008-04-25 09:10:45.000000000 -0400
@@ -52,7 +52,7 @@ void printmask(char *name, nodemask_t *m
int numcpus;
/* caller must free buffer */
-unsigned long *cpumask(char *s, int *ncpus)
+unsigned long *cpumask(char *s, int *bufsz)
{
int invert = 0;
char *end;
@@ -92,7 +92,7 @@ unsigned long *cpumask(char *s, int *ncp
unsigned long arg2 = strtoul(++s, &end2, 0);
if (end2 == s)
complain("missing cpu argument %s\n", s);
- if (arg > numcpus)
+ if (arg >= numcpus)
complain("cpu argument %d out of range\n", arg);
while (++arg <= arg2)
set_bit(arg, cpubuf);
@@ -110,7 +110,7 @@ unsigned long *cpumask(char *s, int *ncp
set_bit(i, cpubuf);
}
}
- *ncpus = cpubufsize;
+ *bufsz = cpubufsize;
return cpubuf;
}

View File

@ -1,36 +0,0 @@
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
--- numactl-1.0.2/syscall.c.orig 2007-08-16 10:36:23.000000000 -0400
+++ numactl-1.0.2/syscall.c 2007-12-20 10:33:27.000000000 -0500
@@ -127,7 +127,7 @@ long syscall6(long call, long a, long b,
#endif
long WEAK get_mempolicy(int *policy,
- const unsigned long *nmask, unsigned long maxnode,
+ unsigned long *nmask, unsigned long maxnode,
void *addr, int flags)
{
return syscall(__NR_get_mempolicy, policy, nmask, maxnode, addr, flags);
diff -up numactl-1.0.2/numaint.h.orig numactl-1.0.2/numaint.h
--- numactl-1.0.2/numaint.h.orig 2007-12-20 10:33:53.000000000 -0500
+++ numactl-1.0.2/numaint.h 2007-12-20 10:33:58.000000000 -0500
@@ -5,7 +5,7 @@ extern int numa_sched_setaffinity(pid_t
extern int numa_sched_getaffinity(pid_t pid, unsigned len, const unsigned long *mask);
extern int numa_sched_setaffinity_int(pid_t pid, unsigned len,const unsigned long *mask);
extern int numa_sched_getaffinity_int(pid_t pid, unsigned len,const unsigned long *mask);
-extern long get_mempolicy_int(int *policy, const unsigned long *nmask,
+extern long get_mempolicy_int(int *policy, unsigned long *nmask,
unsigned long maxnode, void *addr, int flags);
extern long mbind_int(void *start, unsigned long len, int mode,
const unsigned long *nmask, unsigned long maxnode, unsigned flags);
diff -up numactl-1.0.2/numaif.h.orig numactl-1.0.2/numaif.h
--- numactl-1.0.2/numaif.h.orig 2007-08-16 10:36:23.000000000 -0400
+++ numactl-1.0.2/numaif.h 2007-12-20 10:33:27.000000000 -0500
@@ -9,7 +9,7 @@ extern "C" {
/* System calls */
extern long get_mempolicy(int *policy,
- const unsigned long *nmask, unsigned long maxnode,
+ unsigned long *nmask, unsigned long maxnode,
void *addr, int flags);
extern long mbind(void *start, unsigned long len, int mode,
const unsigned long *nmask, unsigned long maxnode, unsigned flags);

View File

@ -1,12 +0,0 @@
diff -up numactl-2.0.2/clearcache.c.orig numactl-2.0.2/clearcache.c
--- numactl-2.0.2/clearcache.c.orig 2008-09-29 16:08:38.000000000 -0400
+++ numactl-2.0.2/clearcache.c 2008-09-29 16:08:49.000000000 -0400
@@ -57,7 +57,7 @@ void clearcache(unsigned char *mem, unsi
#if defined(__i386__) || defined(__x86_64__)
unsigned i, cl, eax, feat;
/* get clflush unit and feature */
- asm("cpuid" : "=a" (eax), "=b" (cl), "=d" (feat) : "0" (1) : "cx");
+ asm("cpuid" : "=a" (eax), "=r" (cl), "=d" (feat) : "0" (1) : "cx");
if (!(feat & (1 << 19)))
fallback_clearcache();
cl = ((cl >> 8) & 0xff) * 8;

View File

@ -1,13 +0,0 @@
diff -up numactl-2.0.2/libnuma.c.orig numactl-2.0.2/libnuma.c
--- numactl-2.0.2/libnuma.c.orig 2009-02-09 15:26:41.000000000 -0500
+++ numactl-2.0.2/libnuma.c 2009-02-09 15:26:45.000000000 -0500
@@ -306,9 +306,6 @@ set_configured_nodes(void)
d = opendir("/sys/devices/system/node");
if (!d) {
- numa_warn(W_nosysfs,
- "/sys not mounted or no numa system. Assuming one node: %s",
- strerror(errno));
maxconfigurednode = 0;
} else {
while ((de = readdir(d)) != NULL) {

View File

@ -1,79 +1,246 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.2
Release: 4%{dist}
License: LGPLv2/GPLv2
Group: System Environment/Base
URL: ftp://oss.sgi.com/www/projects/libnuma/download
Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-buildroot
Version: 2.0.16
Release: 2%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
URL: https://github.com/numactl/numactl
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Patch0: numactl-2.0.2-clearcache-fix.patch
Patch1: numactl-2.0.2-remove-warning.patch
BuildRequires: make
BuildRequires: libtool automake autoconf
ExcludeArch: s390 s390x
ExcludeArch: s390 %{arm}
%description
Simple NUMA policy support. It consists of a numactl program to run
other programs with a specific NUMA policy and a libnuma to do
allocations with NUMA policy in applications.
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
%description libs
numactl-libs provides libnuma, a library to do allocations with
NUMA policy in applications.
%package devel
Summary: Development package for building Applications that use numa
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
License: LGPLv2 and GPLv2
%description devel
Provides development headers for numa library calls
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup
%build
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
%configure --prefix=/usr --libdir=%{_libdir}
%make_build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
%make_install
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%ldconfig_scriptlets libs
%files
%defattr(-,root,root,-)
%{_libdir}/libnuma.so.1
%doc README.md
%{_bindir}/numactl
%{_bindir}/numademo
%{_bindir}/numastat
%{_bindir}/memhog
%{_bindir}/migspeed
%{_bindir}/migratepages
%{_mandir}/man5/*.5*
%{_mandir}/man8/*.8*
%exclude %{_mandir}/man2/*.2*
%files libs
%{_libdir}/libnuma.so.1.0.0
%{_libdir}/libnuma.so.1
%files devel
%defattr(-,root,root,-)
%{_libdir}/libnuma.so
%{_libdir}/libnuma.a
%exclude %{_libdir}/libnuma.a
%{_libdir}/pkgconfig/numa.pc
%{_includedir}/numa.h
%{_includedir}/numaif.h
%{_includedir}/numacompat1.h
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Oct 08 2022 Filipe Brandenburger <filbranden@gmail.com> - 2.0.16-1
- Upgrade to 2.0.16
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Nov 11 2020 Florian Weimer <fweimer@redhat.com> - 2.0.14-2
- Trigger rebuild to avoid DT_INIT/DT_FINI with zero values
* Thu Sep 17 2020 Filipe Brandenburger <filbranden@gmail.com> - 2.0.14-1
- Upgrade to 2.0.14
- Re-enabled LTO, now that upstream has been fixed to support it.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 2.0.12-5
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jul 25 2018 Filipe Brandenburger <filbranden@gmail.com> - 2.0.12-1
- Rebased to version 2.0.12
* Wed Jul 25 2018 Filipe Brandenburger <filbranden@gmail.com>
- Fix check-rpaths warning about including /usr/lib64 in RPATH of the binaries.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Mar 24 2018 Richard W.M. Jones <rjones@redhat.com> - 2.0.11-9%{dist}
- Fix major/minor macros on glibc 2.27.
- Update config.{guess,sub} with versions which understand riscv64.
- Remove obsolete Buildroot tag.
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.0.11-8%{dist}
- Use LDFLAGS from redhat-rpm-config
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.11-7
- Escape macros in %%changelog
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Feb 06 2017 Petr Holasek <holasekp@gmail.com> - 2.0.11-3
- s390x arch enabled (bz1419064)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Dec 14 2015 Petr Holasek <pholasek@redhat.com> - 2.0.11-1
- Rebased to version 2.0.11 (bz1290941)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Oct 13 2014 Petr Holasek <pholasek@redhat.com> 2.0.10-2
- Fixing package conflict with man-pages (bz1151552)
* Wed Oct 08 2014 Petr Holasek <pholasek@redhat.com> 2.0.10-1
- Rebased to version 2.0.10 (bz1150511)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jul 31 2014 Petr Holasek <pholasek@redhat.com> 2.0.9-3
- fixed segfault on non-NUMA systems (bz1080421)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Oct 09 2013 Petr Holasek <pholasek@redhat.com> 2.0.9-1
- rebased to version 2.0.9
* Fri Aug 02 2013 Karsten Hopp <karsten@redhat.com> 2.0.8-4
- rebuild in F20 to fix some dependency issues on PPC
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Jan 22 2013 Petr Holasek <pholasek@redhat.com> - 2.0.8-3
- deleted empty numastat file
* Thu Nov 1 2012 Tom Callaway <spot@fedoraproject.org> - 2.0.8-2
- fix license issues
* Fri Oct 26 2012 Petr Holasek <pholasek@redhat.com> - 2.0.8-1
- Rebased to version 2.0.8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat May 19 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-6
- numademo segfault fix (bz823125, bz823127)
* Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
- Library splitted out of numactl package to numactl-libs
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jan 02 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
- Include missing manpages
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
- Exclude ARM platforms
* Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
- Update to latest upstream stable version (bz 696703)
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
- Better manpages (bz 673613)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
- Update to latest upstream stable version (bz 666379)
* Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
- Update to latest stable upstream source
* Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
- Remove static libs from numactl (bz 556088)
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
- Add destructor to libnuma.so to free allocated memory (bz 516227)
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
- Fix obo in nodes_allowed_list strncpy (bz 516223)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
- Update to full 2.0.3 version (bz 506795)
* Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
- Fix silly libnuma warnings again (bz 499633)
* Fri May 08 2009 Neil Horman <nhorman@redhat.com>
- Update to 2.0.3-rc3 (bz 499633)
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
- Remove warning from libnuma (bz 484552)
@ -112,7 +279,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
- Properly fixed bz 221982
- Updated revision string to include %{dist}
- Updated revision string to include %%{dist}
* Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
- Fixed -devel to depend on base package so libnuma.so resolves

View File

@ -1 +1 @@
82fe5bba94368850c8f5ffd0752b500b numactl-2.0.2.tar.gz
SHA512 (numactl-2.0.16.tar.gz) = 6e17724567c363a08994fe7f5569b6ec62bd1ae608244945fddcb2d6a212b08140340f0d862595ba4016fcba95193e851cb286798f685d314b4c72687af6d879