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.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/rpm5/

> (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:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150541

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:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/linux_base-f10/
(currently it has a long hardcoded list of rpms, and uses rpm2cpio)

--anders

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
User Communication List                             rpm-users@rpm5.org

Reply via email to