[packages/zfs] BR: libatomic-devel on archs without support for 64-bit atomics
atler
atler at pld-linux.org
Wed Dec 20 21:08:15 CET 2023
commit d0af19a7946698440309df4854e0c3238702f92e
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Dec 20 19:30:37 2023 +0100
BR: libatomic-devel on archs without support for 64-bit atomics
zfs.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/zfs.spec b/zfs.spec
index f394d55..9224b0e 100644
--- a/zfs.spec
+++ b/zfs.spec
@@ -41,13 +41,16 @@ URL: https://zfsonlinux.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.025
%if %{with kernel}
%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
%endif
%if %{with userspace}
# only for mmap_libaio test command
#BuildRequires: libaio-devel
+%ifnarch %arch_with_atomics64
+BuildRequires: libatomic-devel
+%endif
BuildRequires: libblkid-devel
BuildRequires: libselinux-devel
BuildRequires: libtirpc-devel
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zfs.git/commitdiff/bee8008b6c09f6dd4495783f9828a85af2b865f9
More information about the pld-cvs-commit
mailing list