ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Vromans CPWR <johan.vrom...@nl.compuware.com>
Subject Re: RPM Task fails
Date Mon, 06 Sep 2004 08:36:14 GMT
James Cooper wrote:
> <rpm specFile="sabserver-3p.spec"
>         topDir="${build.sabserver-3p.dir}"/>
> 
>     [rpm] -bb: unknown option
>     [rpm] Building the RPM based on the sabserver-3p.spec

On older Red Hat systems (up to 7.2, I think) rpm was one executable used for 
building and installing.
Newer Red Hat systems, and Fedora, have two separate utilities: rpmbuild (for 
building) and rpm (for installing).
Apparently, the rpm task executes the rpm program, that is no longer capable of 
handling builds, hence it does not recognize the -bb option.

-- Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message