RE: RPM build error

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

 



> 


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

-----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of a bv
> Sent: dinsdag 30 juni 2009 11:00
> To: redhat-list@xxxxxxxxxx
> Subject: RPM build error
> 
> Hi list,
> 
> On a Redhat EL 5.x machine i have used the command rpmbuild -ta
> filename.tar tu build a rpm package but i had the below error. Im new
> to building rpm packages so im in a need to fix this.
> 
> error: Name field must be present in package: (main package) error:
> Version field must be present in package: (main package) error:
> Release field must be present in package: (main package) error:
> Summary field must be present in package: (main package) error: Group
> field must be present in package: (main package) error: License field
> must be present in package: (main package)

I haven't build RPM packages directly from tar files yet but it seems to
me that the tar file either doesn't have a SPEC file included or if it
does it is missing some required fields.

Try listing the contents of the tar file and look for a file with
extension .spec:
Tar tf filename.tar|grep spec

If this doesn't return anything you'll need to write your own spec file
or look for one on the web.

HTH

Bram

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux