Bug 556211

Summary: Build fails when SELINUX disabled
Product: [Fedora] Fedora Reporter: JW <ohtmvyyn>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pam-1.1.1-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-18 09:15:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JW 2010-01-17 07:04:15 UTC
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