diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 16c5780b9..225657251 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -197,7 +197,9 @@ Requires: sudo Requires: sysstat Requires: rng-tools Requires: libaio +%if 0%{?rhel}%{?fedora}%{?suse_version} BuildRequires: libaio-devel +%endif AutoReqProv: no %description test