diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 25beadce7c..0e9cdcc31f 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -148,10 +148,15 @@ BuildRequires: ncompress BuildRequires: libtirpc-devel %endif +%if %{with pam} +BuildRequires: pam-devel +%endif + Requires: openssl %if 0%{?_systemd} BuildRequires: systemd %endif + %endif %if 0%{?_systemd}