I thought about this a bit, and I think that if we force Mandriva to use our libaio-oscar RPM, this might work.

If I add:

BuildRequires: /usr/lib/libaio.so
Requires: /usr/lib/libaio.so

Would that do the trick? I'm *guessing* that BuildRequires can list a file (vs. an RPM), just like Requires can. Does anyone know for sure?

This will force whoever builds the LAM RPM on Mandriva to have the libaio-oscar RPM installed (or some libaio RPM) -- which is a good thing. Specifically: aio will no longer be optional for the OSCAR LAM RPM -- it will be specifically mandated.



On May 31, 2005, at 7:10 PM, Bernard Li wrote:

Hey Jeff:

I noticed that we used to bundle libaio for Mandrake (libaio-oscar) -
would it help if this RPM can be installed on Mandriva Linux 10.0?

Cheers,

Bernard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Squyres
Sent: Monday, May 23, 2005 5:04
To: OSCAR-devel List
Subject: Re: [Oscar-devel] RPM help

On May 21, 2005, at 7:43 PM, David N. Lombard wrote:

So it seems that none of them require libaio.so directly
-- they all
require libaio.so.something.  So packman/depman is doing
exactly the
Right Thing in Bernard's case: it is finding the libaio RPM, which
contains libaio.so.1.0.0.  It is *not* finding the
libaio-devel RPM
(which contains libaio.so) because there is no requirement
to do so.

This tells me there *should* be a requires for libaio.so in the
package containing mpicc.  That is, after all, what explicit
dependencies are for--cases where the auto-dependency scanner fails.

What about systems that do not have libaio?  (like Mandriva)

-- {+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/? fr_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel


--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to