Compare commits

..

127 Commits
f9 ... 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
Mark McLoughlin
33b077659b - Remove warning from libnuma (bz 484552) 2009-03-25 15:07:55 +00:00
Jesse Keating
1dc9576ad4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 06:22:54 +00:00
Neil Horman
9e543f703b Fixing build break 2008-09-29 20:10:23 +00:00
Neil Horman
5f06a6a8f5 Updating numactl to 2.0.2 2008-09-29 19:45:39 +00:00
Tom Callaway
f6a2c7116b fix license tag 2008-08-11 20:33:40 +00:00
Neil Horman
4bbc521ede Updating version to numactl-2.0.0 2008-05-08 13:12:38 +00:00
Neil Horman
9d951c3026 Resolves: bz 442521 2008-04-25 13:13:30 +00:00
Neil Horman
b007e63c6f Fixing silly spec file mistake 2008-03-14 11:38:31 +00:00
Neil Horman
f4c2a30436 Resolves: bz 396361 2008-03-14 11:31:23 +00:00
Jesse Keating
f2ae22b44c - Autorebuild for GCC 4.3 2008-02-19 16:10:30 +00:00
Neil Horman
491135312d Updating patch to build properly 2007-12-20 15:35:17 +00:00
Neil Horman
6f7d5bbc91 Resolves: bz 418551 2007-12-20 15:13:33 +00:00
Neil Horman
49b5a8845b Updating numactl to latest version 2007-12-14 20:15:57 +00:00
Bill Nottingham
86e07b0234 makefile update to properly grab makefile.common 2007-10-15 19:11:41 +00:00
Neil Horman
53b2fdd465 Updating spec for merge review 2007-08-07 20:36:56 +00:00
Neil Horman
60bb605e89 Updating spec for merge review 2007-08-07 20:35:06 +00:00
Neil Horman
d40e4a6f30 Updating spec for merge review 2007-08-07 20:31:56 +00:00
Neil Horman
a73dec0221 Fixes bz 226207 2007-08-04 00:34:50 +00:00
Neil Horman
2d73eb5cfa doing merge cleanup (bz 226207) 2007-08-03 23:54:34 +00:00
Neil Horman
be128116fa doing merge cleanup (bz 226207) 2007-08-03 23:52:58 +00:00
Neil Horman
6bcd60ad89 fixing dependency problem and updating release string 2007-01-12 14:37:41 +00:00
Neil Horman
72f0070c06 Fixing -devel missing dependency on numactl base 2007-01-11 13:39:34 +00:00
Neil Horman
4eee2fa35f Fixing -devel missing dependency on numactl base 2007-01-11 13:38:45 +00:00
Neil Horman
c7cf638b83 fixing bz 207404 2006-09-21 16:34:54 +00:00
Neil Horman
5340dedefa updating numactl to put libnuma.so in -devel 2006-08-25 18:42:21 +00:00
Neil Horman
13f7fa2c59 splitting out devel headers to devel pacakge] 2006-08-25 15:41:38 +00:00
Neil Horman
f6d39150a3 cleaning up/fixing bz 201906 2006-08-15 14:18:47 +00:00
Jesse Keating
dd04b48b9b bumped for rebuild 2006-07-12 07:29:48 +00:00
Neil Horman
77302d3bc4 turning on ppc64 arch for numactl 2006-06-14 11:34:48 +00:00
Neil Horman
2883c321ec rebasing to numactl-0.9.8 for FC-6 2006-06-13 14:58:47 +00:00
Neil Horman
6b57768dda bumping release number 2006-04-27 14:58:35 +00:00
Neil Horman
6b282ea37e adding new patches 2006-04-27 14:38:52 +00:00
Bill Nottingham
2ee2e8ee72 rebuild for ppc TLS issue (#184446) 2006-03-10 06:06:35 +00:00
Jesse Keating
b7aa47d925 bump for bug in double-long on ppc(64) 2006-02-11 04:48:25 +00:00
Jesse Keating
c76969ca1a bump for new gcc/glibc 2006-02-07 13:16:46 +00:00
Jesse Keating
3755bd29d6 gcc update bump 2005-12-09 22:42:31 +00:00
Dave Jones
17f8b88240 missing file 2005-07-08 01:06:16 +00:00
Dave Jones
6c4760f929 spots fix. 2005-07-08 01:03:32 +00:00
Dave Jones
b10c2e3857 make the dirs again 2005-07-08 00:40:36 +00:00
Dave Jones
0a76598856 need manpage dirs already present. 2005-07-08 00:38:23 +00:00
Dave Jones
44c116cbf7 ignore 2005-07-08 00:33:50 +00:00
Dave Jones
420d4b76c5 numactl doesn't own the manpage dirs. (#161547) 2005-07-08 00:32:20 +00:00
Dave Jones
bfb4752f3d gcc4 2005-03-02 04:07:30 +00:00
Dave Jones
a8d6b0d730 unneeded 2005-02-09 22:23:49 +00:00
Dave Jones
cfae74038a GARG. another! 2005-02-09 00:06:41 +00:00
Dave Jones
f9c73286cd typo 2005-02-09 00:05:40 +00:00
Dave Jones
51901252f8 bump 2005-02-08 23:53:06 +00:00
Dave Jones
c8707833a3 GAR 2005-02-08 23:50:02 +00:00
Dave Jones
b5e45dd7e6 rebuild with -D_FORTITY_SOURCE=2 2005-02-08 23:49:48 +00:00
David Woodhouse
7dca8be68d Add x86_64 build fix to head too 2004-11-10 17:16:44 +00:00
David Woodhouse
e672f26240 *** empty log message *** 2004-10-21 10:51:50 +00:00
David Woodhouse
318ccbb878 Add ppc 2004-10-21 10:43:11 +00:00
cvsdist
f72e87eab5 auto-import changelog data from numactl-0.6.4-1.9.src.rpm
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 09:20:08 +00:00
cvsdist
d63ebf31f1 auto-import changelog data from numactl-0.6.4-1.8.src.rpm
Sat Jun 05 2004 Warren Togami <wtogami@redhat.com>
- spec cleanup
Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
- initial packaging
2004-09-09 09:20:04 +00:00
6 changed files with 226 additions and 123 deletions

7
.gitignore vendored
View File

@ -1,4 +1,3 @@
numactl-0.6.4.tar.gz
numactl-0.6.4
numactl-0.9.8.tar.gz
numactl-1.0.2.tar.gz
/numactl-[2-9]*
/.build-[2-9]*.log
/x86_64/

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,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,24 +0,0 @@
--- numactl-1.0.2/syscall.c.orig 2009-03-16 18:52:40.000000000 -0500
+++ numactl-1.0.2/syscall.c 2009-03-16 19:04:19.000000000 -0500
@@ -69,6 +69,21 @@
#define __NR_set_mempolicy 431
#define __NR_migrate_pages 449
+#elif defined(__sparc__) && defined(__arch64)
+
+#define __NR_migrate_pages 302
+#define __NR_mbind 303
+#define __NR_get_mempolicy 304
+#define __NR_set_mempolicy 305
+
+
+#elif defined(__sparc__)
+
+#define __NR_migrate_pages 302
+#define __NR_mbind 303
+#define __NR_get_mempolicy 304
+#define __NR_set_mempolicy 305
+
#elif !defined(DEPS_RUN)
#error "Add syscalls for your architecture or update kernel headers"
#endif

View File

@ -1,79 +1,260 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 1.0.2
Release: 6%{dist}
License: LGPLv2/GPLv2
Group: System Environment/Base
URL: ftp://ftp.suse.com/pub/people/ak/numa/
Source0: ftp://ftp.suse.com/pub/people/ak/numa/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
ExcludeArch: s390 s390x
Patch0: numactl-1.0.2-get_mempolicy-const.patch
Patch1: numactl-1.0.2-alpha-syscall.patch
Patch2: numactl-1.0.2-sparc-syscall.patch
BuildRequires: make
BuildRequires: libtool automake autoconf
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
%patch2 -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
%exclude %{_libdir}/libnuma.a
%{_libdir}/pkgconfig/numa.pc
%{_includedir}/numa.h
%{_includedir}/numaif.h
%{_includedir}/numacompat1.h
%{_mandir}/man3/*.3*
%changelog
* Mon Mar 16 2008 Dennis Gilmore <dennis@ausil.us> - 1.0.2-6
- add sparc syscalls
* 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)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
- Fix build break due to register selection in asm
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
- Update rawhide to version 2.0.2 of numactl
* Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
- Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
- Fixing spec file to actually apply alpha patch :)
@ -98,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 @@
392a5bc3e79f016edcaee0cb6ceadf90 numactl-1.0.2.tar.gz
SHA512 (numactl-2.0.16.tar.gz) = 6e17724567c363a08994fe7f5569b6ec62bd1ae608244945fddcb2d6a212b08140340f0d862595ba4016fcba95193e851cb286798f685d314b4c72687af6d879