Description of problem: When building rpms without SELINUX the build fails because of a fault in spec file. Version-Release number of selected component (if applicable): pam-1.1.0-7 How reproducible: Always Steps to Reproduce: 1. rpmbuild --without selinux -ba pam.spec Actual results: 1. ERROR pam_sepermit did not build a module. Expected results: no erros expected Additional info: Need to patch pam.spec with: [ ${dir} = "modules/pam_selinux" ] && continue + [ ${dir} = "modules/pam_sepermit" ] && continue