Bug 427710 - vim rpm hard-codes WITH_SELINUX
vim rpm hard-codes WITH_SELINUX
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
8
All Linux
low Severity high
: ---
: ---
Assigned To: Karsten Hopp
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-06 19:19 EST by JW
Modified: 2008-01-14 07:35 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-14 07:35:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description JW 2008-01-06 19:19:56 EST
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 07:35:21 EST
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.