Bug 128922 - Patching at rebuilding PAM fails, if SELinux is disabled
Summary: Patching at rebuilding PAM fails, if SELinux is disabled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-31 16:27 UTC by Robert Scheck
Modified: 2013-07-02 23:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-01 16:50:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2004-07-31 16:27:49 UTC
Description of problem:
Patch applying at rebuilding PAM fails, if SELinux support is 
disabled.

Version-Release number of selected component (if applicable):
pam-0.77-53

How reproducible / Steps to Reproduce:
1. Set "%define WITH_SELINUX 0" in pam.spec
2. rpmbuild -ba pam.spec
3. Die with a patch applying error
  
Actual results:
I know, non SELinux is going away/is no longer available), but the 
following patch solves it simply for both situations (and the simple 
small change really doesn't hurt):

--- snipp ---
--- pam.spec       2004-07-29 21:30:51.000000000 +0200
+++ pam.spec.rsc   2004-07-31 18:28:17.000000000 +0200
@@ -150,9 +150,9 @@
 %if %{WITH_SELINUX}
 %patch60 -p1 -b .selinux
 %patch61 -p1 -b .pwdbselinux
-%endif
 %patch40 -p1 -b .grubb_leak
-%patch62 -p1 -b .closefd
+%patch62 -p1 -b .closefd
+%endif

 for readme in modules/pam_*/README ; do
        cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
--- snapp ---

Expected results:
Patch applying with the next rebuild ;-)

Comment 1 Robert Scheck 2004-10-01 16:50:50 UTC
I think, this bug report isn't any longer of belong, because Fedora 
Core 3 will have SELinux support; closing with "wontfix" now.


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