modifying another distro's rpm for FC4
Bill Rugolsky Jr.
brugolsky at telemetry-investments.com
Fri Feb 10 16:55:00 UTC 2006
On Fri, Feb 10, 2006 at 08:12:05AM -0500, Claude Jones wrote:
> I seem to remember that there was an rpm command that could be run to take an
> rpm not built for FC4 and rebuild it for FC4 installation - or something to
> that effect. I read through the man rpm but didn't see anything that clicked.
> I tried a couple of archive searches but nothing popped up. Am I missing the
> obvious? What I have is an rpm built for PCLinuxOS which is a derivative of
> Mandriva - I'm told that those rpm's can generally be used in FC4 as there is
> a distant relationship in the distros.
When using rpmbuild --rebuild *.src.rpm with foreign SRPMs, you may
want to be aware of the macro differences. See my post to rpm-list in a
thread about macro differences between distros:
In particular, the use of undefined macros (like Mandrake's %make)
results in mysterious error messages such as:
/extra_disk/src/install/rpm-tmp.37547: line 30: fg: no job control
error: Bad exit status from /extra_disk/src/install/rpm-tmp.37547 (%build)
More information about the users