RPM build error

a bv vbavbalist at gmail.com
Tue Jun 30 11:27:16 UTC 2009


Hi,
Thanks for the answer , it returned nothing. what im trying to rpm is
Dansguardians last tar file from its web site , i couldnt find an
official rpm on the site and dont know any reliable and recent
dansguardians rpm. Ill look at the spec file samples and google how to
write.

Regards


2009/6/30, Mertens, Bram <mertensb at mazdaeur.com>:
>>
>
>
> 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 at redhat.com [mailto:redhat-list-
>> bounces at redhat.com] On Behalf Of a bv
>> Sent: dinsdag 30 juni 2009 11:00
>> To: redhat-list at redhat.com
>> 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list