Re: rpmbuild -t? tarball options

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


On 11/13/2015 12:33 PM, Schwarz, Konrad wrote:
>> -----Original Message-----
>> From: Florian Festi [mailto:ffesti@xxxxxxxxxx]
>> Sent: Freitag, 13. November 2015 11:29
>> To: General discussion about the RPM package manager; Schwarz, Konrad
>> Subject: Re: rpmbuild -t? tarball options
>> Sorry for the late reply. Your mail got lost somewhere in the
>> moderation queue.
> Thanks anyway.
>> As rpm 4.2 is pretty old (2003) I assume you are using AIX or Hpux or
>> any of the other Unixes (who are probably shipping their own version of
>> tar). So I doubt anyone is interested fixing this issue. It is probably
>> easier to just use rpm -b after extracting the spec file from the
>> tarball and copying it to the SPECS directory on your own.
> As it turns out, I am using GNU tar 1.26.
> I can accept (and actually already implement) your proposed workaround.
> However, the fact that
> don't really get this to work either seems to indicate that other people are having problems
> here too.  Do you know if the feature works for an up-to-date version of rpmbuild?
> If so, would it be possible to document more clearly where the spec file needs to reside
> in the sources?

There needs to be exactly one file either named "Specfile" or matching
"*.spec". Unfortunately we only recently improved the parsing to not
fail with very obscure error messages if more than one spec file was
found or anthing else goes wrong (which might still not give a good
error message).

The glory details can be found at



Red Hat GmbH, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters
Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux