diff --git a/pam.spec b/pam.spec index 05479fb..316680a 100644 --- a/pam.spec +++ b/pam.spec @@ -144,7 +144,9 @@ username/password pair against values stored in a Berkeley DB database. %package -n pam-extra Summary: PAM module with extended dependencies Group: System/Libraries -BuildRequires: pkgconfig(systemd) +#BuildRequires: pkgconfig(systemd) +# The systemd-mini package does not pass configure checks +BuildRequires: systemd-devel >= 254 BuildRequires: pam-devel Provides: pam:%{_sbindir}/pam_timestamp_check @@ -287,6 +289,8 @@ rm -f %{buildroot}%{_libdir}/security/pam_canonicalize_user.so /sbin/ldconfig -n %{buildroot}%{_libdir} # Install documentation %make_install -C doc +# XXX remove for now until we have a security review, see above +rm -f %{buildroot}%{_mandir}/man8/pam_canonicalize_user.8* # install /etc/security/namespace.d used by pam_namespace.so for namespace.conf iscript install -d %{buildroot}%{_pam_secconfdir}/namespace.d # install other.pamd and common-*.pamd