[Fedora-packaging] Architecture dependencies

Panu Matilainen pmatilai at laiskiainen.org
Mon Feb 14 11:28:28 UTC 2011


On 02/14/2011 01:05 PM, fsosson at gmail.com wrote:
> Hello,
>
> I'm using RPM 4.4 and I would like my package installs
> "glibc-devel.i386" and "glibc-devel.x86_64" as requires dependencies.
>
> Could someone explain howto do that?

With rpm 4.4.x you'll need to use file dependencies on paths that differ 
between the i386 and x86_64 variants of glibc-devel. Something like this 
should work:

# Drag in both 32- and 64-bit versions of glibc-devel
Requires: /usr/lib/libc.so /usr/lib64/libc.so

	- Panu -


More information about the packaging mailing list