Mailinglist Archive: opensuse-buildservice (200 mails)

< Previous Next >
Re: [opensuse-buildservice] No job control
On Fri, May 06, 2011 at 02:34:29PM +0200, Claudio Freire wrote:
On Fri, May 6, 2011 at 2:32 PM, Dimstar / Dominique Leuenberger
<dimstar@xxxxxxxxxxxx> wrote:
BuildRequires: fdupes

%fdupes is a macro that in your case is not yet defined.

I know, I already have that BuildRequires line.
In fact, fdupes seems to be defined, only not working properly.

"No job control" means that it is not defined. Rpm does not
change macros that aren't defined, thus %fdupes stays unchanged.
The shell then interprets %<name> as "bring job <name> into
the foreground", and prints an error.

Just use
%if 0%{?suse_version}
%fdupes ...
%endif

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >