Bug 118442

Summary: Hard coded dependancy on XFree86-libs should not be present
Product: [Fedora] Fedora Reporter: Mike A. Harris <mharris>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.3.3-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-17 05:48:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 118423    

Description Mike A. Harris 2004-03-16 19:33:00 UTC
There are hard coded dependancies on some XFree86 subpackages
whi need to be fixed before xorg-x11 can be enabled in the
development tree.

The following is found in the spec file:
    BuildPrereq: Mesa-devel tk tix gcc-c++ XFree86-libs glibc-devel

Nothing should ever have a Requires, BuildRequires, or BuildPrereq
on the XFree86-libs subpackage, because those are runtime libraries,
and not development libraries.  If python, or something in the
python package needs to link to an X library, then the dependancy
should be on XFree86-devel, not XFree86-libs.

I found the changelog for this:

* Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
- Merged patch from Karsten Hopp <karsten@redhat.de> from
2.2.1-17hammer to
  use %%{_libdir}
- Added XFree86-libs as BuildRequires (because of tkinter)

Not sure what tkinter needs XFree86-libs for, but that's almost
certainly an incorrect BuildRequires.  XFree86-libs package is
going to be removed from the distribution shortly, so this needs
to be changed to XFree86-devel if it is a dependancy needed for
development headers or developmental X11 shared library symlinks.

I can make the change if you like, as this is somewhat under
a time constraint, to get this fixed before the freeze tomorrow.

Thanks in advance.

Comment 1 Mihai Ibanescu 2004-03-16 22:11:43 UTC
Fixed in 2.3.3-3

Comment 2 Mike A. Harris 2004-03-17 05:48:05 UTC
Confirmed to be fixed:

$ rpm -qp --requires
/mnt/redhat/beehive/comps/dist/fc2/python/2.3.3-3/*/*.rpm |grep XFree86

Thanks for the quick update!