From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Description of problem:
vim package in Fedora has a selinux patch which breaks compilation on
systems without selinux. Only problem is in src/configure.in, I send a
corrected patch vim-selinux.patch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot into RHEL 7.3
2. rpmbuild --rebuild vim-6.2.457-1.src.rpm
Actual Results: Headar file selinux.h not found.
Expected Results: Succesful compilation.
Created attachment 106063 [details]
New version of vim-selinux.patch included in vim source package
There is changed only begin of the patch - detection in src/configure.in.
I usually set the WITH_SELINUX variable in the spec file to 0. This
disables the selinux patch and removes the Buildrequires:
Anyway, your patch looks correct and I've added it to the CVS repository.