Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov 85dd55dc99
Fix ExcludeArch: field
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2021-11-10 12:35:07 +02:00
David Abdurachmanov 1d4d276544
Enable riscv64 arch
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2021-11-10 12:17:53 +02:00
1 changed files with 11 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: 1%{dist}
Release: 1.0.riscv64%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
@ -9,6 +9,9 @@ URL: https://github.com/numactl/numactl
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: libtool automake autoconf
%ifarch riscv64
BuildRequires: libatomic
%endif
ExcludeArch: s390 %{arm}
@ -37,6 +40,10 @@ Provides development headers for numa library calls
%autosetup
%build
%ifarch riscv64
export LDFLAGS="${build_ldflags} -latomic"
%endif
%configure --prefix=/usr --libdir=%{_libdir}
# Using recipe to fix rpaths, from here:
# https://fedoraproject.org/wiki/RPath_Packaging_Draft#Removing_Rpath
@ -77,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Wed Nov 10 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.0.14-1.0.riscv64
- Enable riscv64
* 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.