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