|
|
|
@ -1,19 +1,45 @@
|
|
|
|
|
Name: numactl
|
|
|
|
|
Summary: Library for tuning for Non Uniform Memory Access machines
|
|
|
|
|
Version: 2.0.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.0.16
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
# libnuma is LGPLv2 and GPLv2
|
|
|
|
|
# numactl binaries are GPLv2 only
|
|
|
|
|
License: GPL-2.0-only
|
|
|
|
|
License: GPLv2
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
URL: https://github.com/numactl/numactl
|
|
|
|
|
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: libtool automake autoconf
|
|
|
|
|
Source0: https://github.com/numactl/numactl/releases/download/%{version}/numactl-%{version}.tar.gz
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-buildroot
|
|
|
|
|
BuildRequires: libtool automake autoconf
|
|
|
|
|
|
|
|
|
|
ExcludeArch: s390 %{arm}
|
|
|
|
|
|
|
|
|
|
# Patch601: 0001-Fix-fallback-for-set_mempolicy_home_node-syscall.patch
|
|
|
|
|
#START INSERT
|
|
|
|
|
#
|
|
|
|
|
# Patches 0 through 100 are meant for x86
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Patches 101 through 200 are meant for x86_64
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Patches 301 through 400 are meant for ppc64le
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Patches 401 through 500 are meant for s390x
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Patches 501 through 600 are meant for aarch64
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Patches 601 onward are generic patches
|
|
|
|
|
#
|
|
|
|
|
Patch601: 0001-fix-typo-in-memhog.8.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Simple NUMA policy support. It consists of a numactl program to run
|
|
|
|
@ -22,8 +48,8 @@ other programs with a specific NUMA policy.
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: libnuma libraries
|
|
|
|
|
# There is a tiny bit of GPLv2 code in libnuma.c
|
|
|
|
|
License: LGPL-2.1-only AND GPL-2.0-only
|
|
|
|
|
|
|
|
|
|
License: LGPLv2 and GPLv2
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
numactl-libs provides libnuma, a library to do allocations with
|
|
|
|
@ -31,27 +57,36 @@ NUMA policy in applications.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development package for building Applications that use numa
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
License: LGPL-2.1-only AND GPL-2.0-only
|
|
|
|
|
License: LGPLv2 and GPLv2
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Provides development headers for numa library calls
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
# Fix the missing of standard autotools auxiliary files
|
|
|
|
|
autoreconf -i
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
#patch
|
|
|
|
|
%patch601 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
aclocal && automake
|
|
|
|
|
%configure --prefix=/usr --libdir=%{_libdir}
|
|
|
|
|
%make_build
|
|
|
|
|
make clean
|
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -I."
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
@ -70,86 +105,39 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/libnuma.so
|
|
|
|
|
%exclude %{_libdir}/libnuma.a
|
|
|
|
|
%{_libdir}/pkgconfig/numa.pc
|
|
|
|
|
%exclude %{_libdir}/libnuma.a
|
|
|
|
|
%exclude %{_libdir}/libnuma.la
|
|
|
|
|
%{_includedir}/numa.h
|
|
|
|
|
%{_includedir}/numaif.h
|
|
|
|
|
%{_includedir}/numacompat1.h
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 18 2024 Pingfan Liu <piliu@redhat.com> - 2.0.19-1
|
|
|
|
|
- Rebase to v2.0.19
|
|
|
|
|
* Thu Sep 14 2023 Pingfan Liu <piliu@redhat.com> - 2.0.16-2
|
|
|
|
|
- fix typo in memhog.8
|
|
|
|
|
- Remove contained patches
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.0.18-4
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
* Wed May 12 2021 Pingfan Liu <piliu@redhat.com> - 2.0.12-13
|
|
|
|
|
- libnuma: make numa_police_memory() free of race
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.16-6
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
* Sat May 9 2020 Pingfan Liu <piliu@redhat.com> - 2.0.12-11
|
|
|
|
|
- Update manpage description of --localalloc option
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
* Fri Mar 13 2020 Pingfan Liu <piliu@redhat.com> - 2.0.12-10
|
|
|
|
|
- memhog : add man page
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
* Mon Apr 1 2019 Pingfan Liu <piliu@redhat.com> - 2.0.12-3
|
|
|
|
|
- add gating test cases
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
* Mon Nov 26 2018 Pingfan Liu <piliu@redhat.com> - 2.0.12-2
|
|
|
|
|
- Fix: Add ShmemHugePages and ShmemPmdMapped to system_meminfo[]
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.16-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
* Mon Nov 5 2018 Pingfan Liu <piliu@redhat.com> - 2.0.12-1
|
|
|
|
|
- Rebase to 2.0.12
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
* Fri Aug 10 2018 Lianbo Jiang <lijiang@redhat.com> - 2.0.11-8%{dist}
|
|
|
|
|
- Fix compilation error (bz1611734)
|
|
|
|
|
|
|
|
|
|
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.0.11-8%{dist}
|
|
|
|
|
- Use LDFLAGS from redhat-rpm-config
|