diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 132b0402fdc0..a26f925e4454 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -203,7 +203,9 @@ Requires: acl Requires: sudo Requires: sysstat Requires: libaio +%if 0%{?rhel}%{?fedora}%{?suse_version} BuildRequires: libaio-devel +%endif AutoReqProv: no %description test