rpms/bzflag/devel bzflag.spec,1.7,1.8
Michael Schwendt
bugs.michael at gmx.net
Wed Apr 6 15:39:51 UTC 2005
On Wed, 06 Apr 2005 17:28:31 +0200, Ralf Corsepius wrote:
> On Wed, 2005-04-06 at 17:07 +0200, Nils Philippsen wrote:
>
> > Besides, out of common courtesy you could have used different phrasing
> > -- "use BuildRequires: xorg-x11-devel libGL-devel libGLU-devel instead"
> > sounds so much more helpful, don't you think?
> I have to repeat my mantra again:
>
> BuildRequires: XFree86-devel libGL.so.1 libGLU.so.1
>
> XFree86-devel pulls in the general X11-devel-libs, comprising libGL.so
> and libGLU.so (The devel versions of the libs)
>
> In a RH standard build environment
> BR: libGL.so.1 pulls in xorg-x11-Mesa-libGL,
> BR: libGLU.so.1 pulls in xorg-x11-Mesa-libGLU,
> which contain the run-time libs.
>
> The devel-libs are required to be able to link against libGL/libGLU,
> while the run-time libs (in many cases) are needed for configuration
> checks to report correct results.
>
> Not directly "BR: libGLU-devel"/"BR: libGL-devel" rsp. "xorg-x11-Mesa-
> libGL"/xorg-X11-Mesa-libGLU" leaves users the freedom to use alternative
> libGL/libGLU runtime libs when rebuilding rpms.
>
> Directly "BR: libGL-devel" forces them to uninstall their libGL's and to
> install the Mesa/x11-org libGL "lookalike" instead.
There is no direct dependency on Mesa. Just:
$ rpm -q --whatprovides libGLU-devel libGL-devel
xorg-x11-devel-6.8.2-18
xorg-x11-devel-6.8.2-18
xorg-x11-devel-6.8.2-18
xorg-x11-devel-6.8.2-18
$ rpm -qR xorg-x11-devel | grep libGL
libGL >= 1
libGLU >= 1
The only change for 3rd party GL packages will be to "provide"
libGL/libGLU, so the Mesa packages need not be pulled in. This is
unchanged compared with the libGL.so.1 SONAME dependency.
More information about the fedora-extras-commits
mailing list