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

Re: Mandrake SRPMs on Fedora Core 1



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.



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