Build vfs_io_uring also on RHEL >= 8

This commit is contained in:
Andreas Schneider 2021-05-12 11:31:21 +02:00
parent d3d2a031b7
commit 3356311a17

View File

@ -92,7 +92,7 @@
%endif %endif
# Build vfs_io_uring module by default on 64bit Fedora # Build vfs_io_uring module by default on 64bit Fedora
%if 0%{?fedora} %if 0%{?fedora} || 0%{?rhel} >= 8
%ifarch aarch64 ppc64le s390x x86_64 %ifarch aarch64 ppc64le s390x x86_64
%bcond_without vfs_io_uring %bcond_without vfs_io_uring
@ -103,7 +103,7 @@
%else %else
%bcond_with vfs_io_uring %bcond_with vfs_io_uring
#endif fedora #endif fedora || rhel >= 8
%endif %endif
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")