diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 9ee36b2049..4980c08f36 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -117,10 +117,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}