Re: modifying another distro's rpm for FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

    http://www.redhat.com/archives/rpm-list/2002-June/msg00111.html

In particular, the use of undefined macros (like Mandrake's %make)
results in mysterious error messages such as:

+ %make
/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)


Regards,

	Bill Rugolsky


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux