[Fedora-packaging] -devel arch dependencies

Orion Poplawski orion at cora.nwra.com
Wed Apr 11 21:04:54 UTC 2007

Here's a question.  Should -devel package requirements be of the form:

Requires: package-devel.%{arch}

I ask because of the following:

# yum list libX11-devel
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from Fedora Core 6 - x86_64 - Updates
Installed Packages
libX11-devel.i386                        1.0.3-6.fc6            installed
Available Packages
libX11-devel.x86_64                      1.0.3-7.fc6            updates
libX11-devel.i386                        1.0.3-7.fc6            updates
[root at apollo ~]# rpm -e libX11-devel
error: Failed dependencies:
         libX11-devel is needed by (installed) libXpm-devel-3.5.5-3.x86_64
         libX11-devel is needed by (installed) 
         libX11-devel is needed by (installed) libXmu-devel-1.0.2-5.x86_64
         libX11-devel is needed by (installed) 
         libX11-devel is needed by (installed) 
         libX11-devel is needed by (installed) libXpm-devel-3.5.5-3.i386
         libX11-devel is needed by (installed) 
         libX11-devel is needed by (installed) libXext-devel-1.0.1-2.1.i386

Should the libXpm-devel-3.5.5-3.x86_64 requirement for "libX11-devel" be 
satisfied by libX11-devel.i386?  The needed libraries won't be there for 

Can this be done in packaging, or does this need to be done in rpm?

Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

More information about the Fedora-packaging mailing list