Bug 77949 - Too many requires in spec file
Too many requires in spec file
Product: Red Hat Linux
Classification: Retired
Component: glut (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
Depends On:
  Show dependency treegraph
Reported: 2002-11-15 14:03 EST by Alex Yacoub
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-15 14:08:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alex Yacoub 2002-11-15 14:03:32 EST
Description of Problem:

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

How Reproducible:

Steps to Reproduce:

Actual Results:

Expected Results:

Additional Information:
Comment 1 Alex Yacoub 2002-11-15 14:08:46 EST
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

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 13:26:33 EST
Fixed in 3.7-9 in rawhide (I think)

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