Bug 427710 - vim rpm hard-codes WITH_SELINUX
Summary: vim rpm hard-codes WITH_SELINUX
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-07 00:19 UTC by JW
Modified: 2008-01-14 12:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-14 12:35:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description JW 2008-01-07 00:19:56 UTC
Description of problem:
The vim source rpm spec hard-codes WITH_SELINUX which prevents spec script from
inheriting WITH_SELINUX command-line or macros default setting.

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

How reproducible:
Always

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


Expected results:
vim.spec should contain
    %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
    %define WITH_SELINUX 1
    %endif


Additional info:
All spec files should contain the above and never unconditionally hard-code
WITH_SELINUX

Comment 1 Karsten Hopp 2008-01-14 12:35:21 UTC
added in vim-7.1.228-1.fc9 and will be in the next F8 vim update (not scheduled yet)


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