RPM Community Forums

Mailing List Message of <rpm-users>

Re: Requires/Provides

From: Anders F Björklund <afb@rpm5.org>
Date: Tue 03 Apr 2012 - 18:30:21 CEST
Message-Id: <0D320766-2A5F-4EE1-BB0E-7676D23C18A4@rpm5.org>
Rick Miller wrote:

>> 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.

That would be 5.2.1.


> (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.

Using the yum.spec from Fedora on FreeBSD won't work, and is
probably the least of your problems compared with portability.

A yum port is available, and it required *lots* of patching:

But even with all the patching, the only yum use is for handling
RPM packages for Linux on FreeBSD (like for the linux emulator).
It has too many hardcoded assumptions to work for native packages.
There is no real interest in having it portable to other systems.

It was mistakenly submitted* as a dependency of createrepo-0.9.8,
but it would have been better to use createrepo-0.4.11 instead...
(* as per http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150542)
At one point, there was even a port of mock for use in linux-base:

(currently it has a long hardcoded list of rpms, and uses rpm2cpio)

Received on Tue Apr 3 18:30:32 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.