I'm learning how to make rpm's for fedora but I get following error (fg: no job control)

Jens Petersen petersen at redhat.com
Thu Dec 18 03:16:36 UTC 2003


>>>>> "Kv" == Kristof vansant <de_lupus at pandora.be> writes:

    Kv> /var/tmp/rpm-tmp.63126: line 27: fg: no job control
    Kv> error: Bad exit status from /var/tmp/rpm-tmp.63126
    Kv> (%prep)

If you look at the generated rpm-tmp shell script it may
become clearer what is going wrong...

    Kv> my .spec file you can find at
    Kv> http://www.freax.eu.org/wiki/index.php/Building%20rpm%27s%20for%20Fedora%20core%201

I think you should avoid unnecessary indentation in your
spec file.  Try instead:

--
%prep
#unpack source code  -q: quiet
%setup -b
#apply patch on source code
#%patch0 -p1 -b .


#all commands needed for building
%build
#configure properly packages that use autoconf and automake
%configure
make
-- 

Hth, Jens





More information about the fedora-devel-list mailing list