Bug 556211 - Build fails when SELINUX disabled
Summary: Build fails when SELINUX disabled
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-17 07:04 UTC by JW
Modified: 2010-01-18 09:15 UTC (History)
1 user (show)

Fixed In Version: pam-1.1.1-2.fc13
Clone Of:
Environment:
Last Closed: 2010-01-18 09:15:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.