RPM Community Forums

Mailing List Message of <rpm-users>

Re: Requires/Provides

From: Jeffrey Johnson <n3npq@me.com>
Date: Tue 03 Apr 2012 - 15:45:28 CEST
Message-id: <6CD31B38-5A6D-4598-AD83-E2F22155DDE5@me.com>

On Apr 3, 2012, at 8:53 AM, Rick Miller wrote:

> Hi all,
> 
> I am attempting to build an RPM with several "Requires" in the spec
> file on a FreeBSD 8.2-RELEASE host.  The required binaries exist on
> the host in the form of FreeBSD packages.  I thought, obviously
> incorrectly, that if I had the path to the binary in
> sysinfo/Providename that RPM would be able to identify that the
> prerequisite exists.  Do I need to build and install a new RPM whose
> spec file simply contains the "Provides" lines so that RPM will see
> that the prerequisites indeed exist?
> 

What are the Requires: needed?

What version of RPM?

All (at least that I can think of) Requires can be stubbed out
in (normally: dunno what paths FreeBSD uses) in
    /etc/rpm/sysinfo/Providename

Alternatively, you can stub out by building a package with a Provides:

73 de Jeff
Received on Tue Apr 3 15:45:35 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.