]> git.proxmox.com Git - mirror_zfs.git/commit
RPM: Add missing BuildRequires for PAM component
authorColMelvin <chris.lindee+github@gmail.com>
Tue, 25 Jan 2022 21:14:43 +0000 (15:14 -0600)
committerGitHub <noreply@github.com>
Tue, 25 Jan 2022 21:14:43 +0000 (13:14 -0800)
commit8d6a598a20df384a51a568f3c76241294d1326e6
treecbee804fbd4f76fa71bb1d622ad8783bd92c36a6
parenta3fbe2b9421afcfafca58fbed93acc6d6bb7a5f6
RPM: Add missing BuildRequires for PAM component

When the optional PAM binaries are included in a build, ./configure will
look for security/pam_modules.h and - if it doesn't find it - recommend
the user install `libpam0g-dev`.  On Red Hat systems, `pam-devel` is the
package that supplies this requirement; `libpam0g-dev` does not exist.

By encoding this requirement in the spec file, we give packagers more
appropriate (and timely) recommendations for completing the build.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Lindee <chris.lindee+github@gmail.com>
Closes #13001
rpm/generic/zfs.spec.in