Re: Fwd: Help specifying arch through 'requires' in rpm .spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Sep 2010, FlorianFesti wrote:

On 09/29/2010 04:16 AM, Oliver von Behr Kuster wrote:
Hi,
I have x86_64 machines running RHEL5 and am trying to install snoopy through the customized package handling machine configurations.

Since the machines are 32bit compatible, snoopy.i386 needs to be installed also.

So I've tried the following:

Requires: snoopy(i386)
This should work on newer versions of rpm (actually on packages built with newer versions).

Nope, the syntax is somewhat different (literal arch is not involved). See http://rpm.org/wiki/PackagerDocs/ArchDependencies for the details. But yeah, that wont help on RHEL 5.

On RHEL 5 you can try to work around by requiring files that are unique to both archs - typically files in /usr/lib(64)?

Yup. That, or if you're building your own packages of course nothing prevents you from adding extra per-arch provide-require pairs to them.

	- Panu -
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux