libGL* dependencies

Paul Howarth paul at city-fan.org
Mon Oct 17 17:12:56 UTC 2005


Ralf Corsepius wrote:
> On Mon, 2005-10-17 at 19:34 +0300, Ville Skyttä wrote:
> 
>>On Mon, 2005-10-17 at 11:55 -0400, Rex Dieter wrote:
>>
>>
>>>* Mon Oct 17 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.90-2
>>>- BR: libGL.so.1 -> BR: %x_pkg-Mesa-libGL 
>>
>>I believe the preferred way to do that stuff nowadays (FC3+) is using
>>libGL/libGLU/libGL-devel/libGLU-devel as appropriate.
>>
>>https://www.redhat.com/archives/fedora-maintainers/2005-March/msg00128.html
> 
> 
> This proposal is a dead born child:
> 
> 
> # rpm -q --provides -p
> updates/4/i386/xorg-x11-Mesa-libGL-6.8.2-37.FC4.49.2.i386.rpm
> Mesa
> libGL = 1
> libGL.so.1
> xorg-x11-Mesa-libGL = 6.8.2-37.FC4.49.2
> 
> # rpm -q --provides -p
> updates/4/x86_64/xorg-x11-Mesa-libGL-6.8.2-37.FC4.49.2.x86_64.rpm
> Mesa
> libGL = 1
> libGL.so.1()(64bit)
> xorg-x11-Mesa-libGL = 6.8.2-37.FC4.49.2
> 
> Note: Both packages "Provide: libGL = 1"

Could something like this work?:

%ifarch x64_64 ppc64
BuildRequires: libGL.so.1()(64bit)
%else
BuildRequires: libGL.so.1
%endif

I believe Rex's solution is frowned upon because it does an rpmdb query 
at build time.

Paul.




More information about the fedora-extras-list mailing list