[PATCH] Re: RPM building with embedded .spec file (was: [Dovecot] 1.0 beta1 released)

Matthias Andree matthias.andree at gmx.de
Tue Jan 17 14:42:23 EET 2006


Timo Sirainen <tss at iki.fi> writes:

> As promised, here it is finally.
>
> v1.0 is getting nearer and I want people to start looking at Dovecot's
> sources. Getting some more help with development would be nice, but I'd

Thanks for your work!

I looked at the .spec "source" with rpmbuild on SUSE Linux 10.0 x86,
which came up with these autocheck errors - it appears as though the
.spec file could use some updating WRT newer plugins.

RPM build errors:
    File listed twice: /usr/libexec/dovecot
    Installed (but unpackaged) file(s) found:
   /usr/lib/dovecot/imap/lib01_zlib_plugin.a
   /usr/lib/dovecot/imap/lib01_zlib_plugin.la
   /usr/lib/dovecot/imap/lib01_zlib_plugin.so
   /usr/lib/dovecot/imap/lib02_imap_quota_plugin.a
   /usr/lib/dovecot/imap/lib02_imap_quota_plugin.la
   /usr/lib/dovecot/imap/lib02_imap_quota_plugin.so
   /usr/lib/dovecot/lib01_quota_plugin.a
   /usr/lib/dovecot/lib01_quota_plugin.la
   /usr/lib/dovecot/lib01_quota_plugin.so
   /usr/lib/dovecot/lib02_trash_plugin.a
   /usr/lib/dovecot/lib02_trash_plugin.la
   /usr/lib/dovecot/lib02_trash_plugin.so

The attached patch fixes the immediate packaging errors, but does not
yet add a SUSE-compatible init script (SUSE don't have /sbin/service or
daemon or /etc/init.d/functions) - I don't have time for that now.

Note that SUSE also move /usr/libexec/* to /usr/lib for LSB compliance.

-- 
Matthias Andree
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot.spec.in-1.0.beta1.patch
Type: text/x-patch
Size: 827 bytes
Desc: update dovecot.spec[.in] for 1.0.beta1
Url : http://dovecot.org/pipermail/dovecot/attachments/20060117/e67a2108/dovecot.spec.in-1.0.beta1.bin


More information about the dovecot mailing list