Description of problem:
The package allows to build not against selinux. Doing so lets the
last patch fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. define WITH_SELINUX 0
2. rebuild rpm
Patch #1001 (util-linux-2.12-nfssloppy.patch):
+ patch -p1 -b --suffix .nfssloppy -s
2 out of 5 hunks FAILED -- saving rejects to file mount/nfsmount.c.rej
Patches should apply.
Created attachment 101402 [details]
nfssloppy patch modified for building w/o selinux
This patch is Patch1001 modified to apply for WITH_SELINUX set to 0.
Created attachment 101403 [details]
specfile patch for choosing the right nfssloppy patch (selinux vs non-selinux)
This patch modifies the specfile to chose the right nfssloppy patch depending
on whether on builds for selinux or not.
May I add that this also needs to be done, AFAICT:
Just to get this package straight,
(No longer applicable for CVS, where selinux is unconditional.)