Compare commits

...

1 Commits

Author SHA1 Message Date
David Abdurachmanov a034d78e2e
Link to libatomic on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-11-05 16:53:40 +02:00
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.14
Release: 6%{dist}
Release: 6.0.riscv64%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
@ -38,6 +38,10 @@ Provides development headers for numa library calls
%autosetup
%build
%ifarch riscv64
export LDFLAGS="%__global_ldflags -latomic"
%endif
%configure --prefix=/usr --libdir=%{_libdir}
# Using recipe to fix rpaths, from here:
# https://fedoraproject.org/wiki/RPath_Packaging_Draft#Removing_Rpath
@ -78,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Sat Nov 05 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2.0.14-6.0.riscv64
- Link to libatomic on riscv64
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild