Re: Mandrake SRPMs on Fedora Core 1

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

 



On Tue, 1 Jun 2004 19:37:37 +0200, Michael Schwendt wrote:

> On Tue, 01 Jun 2004 01:41:29 -0400, William M. Quarles wrote:
> 
> > Hi,
> > 
> > If anyone has tried rebuilding a Mandrake SRPM on Fedora Core or Red Hat 
> > Linux, your probably got this:
> > 
> > + %make
> > /var/tmp/rpm-tmp.55192: line 53: fg: no job control
> > error: Bad exit status from /var/tmp/rpm-tmp.55192 (%build)RPM build
> > 
> > errors:
> >      user florin does not exist - using root
> > <SNIP>
> >      Bad exit status from /var/tmp/rpm-tmp.55192 (%build)
> > 
> > Apparently the "fix" is that %build is not a macro defined for Red Hat 
> > RPM distributions, so we need to steal it from Mandrake rpms and use it. 
> 
> %build is a spec file section. %make is not defined. Put 
> 
>   %make    /usr/bin/make
> 
> in /usr/lib/rpm/redhat/macros, for instance.
> 

Or try:   rpmbuild --rebuild --define "make /usr/bin/make" foo.src.rpm



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

  Powered by Linux