Bug 77949

Summary: Too many requires in spec file
Product: [Retired] Red Hat Linux Reporter: Alex Yacoub <ayacoub>
Component: glutAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-15 19:08:52 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 Alex Yacoub 2002-11-15 19:03:32 UTC
Description of Problem:


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


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Alex Yacoub 2002-11-15 19:08:46 UTC
Sorry about that.  Here's the real bug:

In the spec file to glut, there is a line
Requires:      /usr/lib/libGL.so.1

The problem is that the FindRequires script of rpmbuild automatically discovers
what the requires are, and this line is unneeded.  libGL.so.1 is a symlink, and
many packages provide the library, but not that actual file (which ldconfig
creates).

Having this line in the spec file prevents uninstalling the XFree86-Mesa-libGL
package and installing another package that provides the library, such as
NVIDIA's package.

The solution is to remove that line from the spec file.  It does not cause any
problems as running rpm -q --requires glut shows libGL.so.1 as one of the lines,
instead of /usr/lib/libGL.so.1.

I hope that made sense....

Comment 2 Mike A. Harris 2002-11-18 18:26:33 UTC
Fixed in 3.7-9 in rawhide (I think)