Bug 430380

Summary: cannot compile vim without SELINUX
Product: [Fedora] Fedora Reporter: JW <ohtmvyyn>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-30 11:50:19 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 2008-01-27 07:03:20 UTC
Description of problem:
vim.spec contains a hard-coded WITH_SELINUX which prevents correct operation of
a WITH_SELINUX setting in /etc/rpm/macros

Version-Release number of selected component (if applicable):
vim-7.1.135-1

How reproducible:
Always

Steps to Reproduce:
1. read vim.spec
2.
3.
  
Actual results:
Contains:
%define WITH_SELINUX 1

Expected results:
Should contain:
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
%define WITH_SELINUX 1
%endif

Additional info:

Comment 1 Karsten Hopp 2008-01-30 11:50:19 UTC
This is fixed in Rawhide in vim-7.1.228 or newer and will be in the next update
for F-8. See bug #427710 for the details.