RPM Community Forums

Mailing List Message of <rpm-users>

Re: Requires/Provides

From: Rick Miller <vmiller@hostileadmin.com>
Date: Tue 03 Apr 2012 - 16:18:09 CEST
Message-ID: <CAHzLAVGKoTJDzg0gqYhFVkeJnq9XWVuoOJGeJqfuHPeXq6HqTA@mail.gmail.com>
> What are the Requires: needed?

My mistake, they are BuildRequires: and are as follows:

python
gettext
intltool

> What version of RPM?

I *think* its 5.2.x, but not 100% sure.  I don't have access to the
host today and can let you know tomorrow.  It was installed from the
FreeBSD ports collection for 8.2-RELEASE.

> 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

I thought the same.  The path in FreeBSD is
/usr/local/etc/rpm/sysinfo/Providename

However, might it be different since they are BuildRequires: and not Requires: ?

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

I had considered this and may try it tomorrow.

(aside)
The RPM I am trying to build is yum.  I suspect that I may hit a
number of snags with the yum.spec as I try to get an RPM built for
FreeBSD.  This happens to be the first.


-- 
Take care
Rick Miller
Received on Tue Apr 3 16:23:38 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.