On Sat, 16 Nov 2002, Luca Olivetti wrote:

> > > W: cyrus-imapd source-or-patch-not-bzipped
> > >
> > > this is easy to fix, but isn't the srpm already compressed? does it
> > > really make a difference?
> >
>
> Yes, I read mandrake rpm howto and I use it as a reference.
> But I'm still questioning this policy in all cases: putting the patches
> bzipped saved a whopping 300 bytes in the srpm.
> Gunzipping and bzipping2 the original tarball made a difference, but
> still I don't think it's correct: if someone goes to download the file
> from the url in the spec file he won't find it since it's only
> distributed as a tar.gz:

You should use bzme btw ...

>
> $ LC_MESSAGES= LANG= wget
> ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-2.1.10.tar.bz2
> --19:01:36--
> ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-2.1.10.tar.bz2
>             => `cyrus-imapd-2.1.10.tar.bz2.1'
> Resolving ftp.andrew.cmu.edu... done.
> Connecting to ftp.andrew.cmu.edu[128.2.11.38]:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done.    ==> PWD ... done.
> ==> TYPE I ... done.  ==> CWD /pub/cyrus-mail ... done.
> ==> PASV ... done.    ==> RETR cyrus-imapd-2.1.10.tar.bz2 ...
> No such file `cyrus-imapd-2.1.10.tar.bz2'.
>

I tihnk anyone who actually wants to do this would know to check for
tar.gz and .tgz etc. IMHO, we still need a tol that can build packages
from Mandrake cvs, and getting the source automatically, but that would
require that something like 'rpm -q --qf '%SOURCE' --specfile
cyrus-imapd.spec' actually worked.

In any case where it is critical that the source be kept in it's original
form, that is ok (AFAIK openssh is still in gzip?). But all patches shuold
be bzip2'ed, since AFAIK they don't go into cvs if they are not.

Buchan
-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to