Bug 106824

Summary: vim should require gtk2-devel if withgtk2=1, not gtk+-devel
Product: [Retired] Red Hat Raw Hide Reporter: Max Kanat-Alexander <mkanat>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
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: 2004-07-21 14:28:57 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:
Bug Depends On:    
Bug Blocks: 100644    

Description Max Kanat-Alexander 2003-10-10 23:45:54 UTC
Description of problem:
This is just a BuildRequires issue for the vim SRPM --

For vim-X11, it should be:

%if %{withgtk2}
BuildRequires: gtk2-devel
%else
BuildRequires: gtk+-devel
%endif

Right now it's just BuildRequires: gtk+-devel

Version-Release number of selected component (if applicable):
vim-6.2.98-1.1

How reproducible:
Always

Steps to Reproduce:
1. Remove gtk+-devel from the system.
2. Attempt to build vim SRPM in Rawhide.

Actual Results:  Rpmbuild claims that it can't proceed because of a missing
dependency.

With --nodeps, the package compiles, installs, and runs perfectly.

Expected Results:  Package compiles without --nodeps being required.