ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18071] New: - Ant RPM task doesn't work on Redhat 8.0
Date Mon, 17 Mar 2003 16:37:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18071>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18071

Ant RPM task doesn't work on Redhat 8.0

           Summary: Ant RPM task doesn't work on Redhat 8.0
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: josevnz@newbreak.com


Greetings,

Redhat 8.0 changed all the build options from rpm to rpm build; For that reason
if you try to build a new rpm package using a definition like this one:

 <rpm specFile="${specfile}" topDir="${rpm}" cleanBuildDir="yes"
removeSpec="yes" removeSource="yes" />

You will get this error:
rpm:
      [tar] Building tar:
/home/josevnz/cvs/code/NBLoanDataMapper/rpm/SOURCES/NBLoanDataMapper-1.0.tar.gz
      [rpm] -bb: unknown option
      [rpm] Building the RPM based on the NBLoanDataMapper.spec file



There is an easy way to ask the RPM task to use the proper command? Looks like
is hardcoded in the code (i haven't check yet but i found nothing on the user
manual about it).

JV.

Mime
View raw message