-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Luca Olivetti wrote:
> While packaging a new release of the cyrus imapd server, I'd like to
> make rpmlint happy (or at least happier), but I'm having these problems
> I don't know how to fix:
>
> W: cyrus-imapd invalid-license OSI Approved
>
> Well, I know it's not in the list of licenses, but none of them applies.
> The license is at http://asg.web.cmu.edu/cyrus/imapd/license.html, what
> should I use?
> Probably the licenses list should be expanded (hey, there's a "Vovida
> Software License" and a "CVW License", why not a "CMU license"?)
>
>
> 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?
AFAIK, non-bzip2'ed stuff doesn't make it into cvs on upload.
>
> E: cyrus-imapd configure-without-libdir-spec
>
> ???
> that's probably because there are 2 configure, one of them isn't using
> the %configure macro (if I use it it won't compile).
> BTW, while speaking of libdir, when will be mandrake's rpm fixed to use
> /usr/libexec as %libexecdir instead of /usr/lib ?
>
> E: cyrus-imapd use-of-RPM_SOURCE_DIR
>
> that's funny, since I replaced all $RPM_SOURCE_DIR/something with the
> corresponding %{SOURCEXX}, the problem is that for a couple of files in
> %doc, rpm would look for them under the buildroot and obviously failing,
> so I had to change that back to use $RPM_SOURCE_DIR:
>
> # cyrus-procmailrc %{SOURCE1}
> %doc $RPM_SOURCE_DIR/cyrus-procmailrc
> # cyrus-user-procmailrc.template %{SOURCE3}
> %doc $RPM_SOURCE_DIR/cyrus-user-procmailrc.template
> # cyrus-imapd-procmail+cyrus.mc %{SOURCE9}
> %doc $RPM_SOURCE_DIR/cyrus-imapd-procmail+cyrus.mc
Rather copy them into the build directory:
%setup -q
mkdir -p extradocs
for i in %{SOURCE1} %{SOURCE3} %{SOURCE9};do
cp $i extradocs
done
[...]
%files
[...]
%doc extradocs/*
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE90+qvrJK6UGDSBKcRAt2CAKC8+fxO+n8OFw6x41b6Fzsz53R+LwCfeT2F
W2LRpR7//CSucESnX3kin4c=
=ndZJ
-----END PGP SIGNATURE-----