[Dovecot] problems compiling

Peter Svensson psvdovecot at psv.nu
Thu Jan 19 00:12:57 EET 2006


On Wed, 18 Jan 2006, Marcus Rueckert wrote:

> On 2006-01-18 17:58:25 +0200, Imre Gergely wrote:
>> that specfile included in the tar.gz looks fine, the problem is the plugins
>> won't install in the temporary location, it wants to install it direct in the
>> root directory, during the rpmbuild process, that's not so good :)
>
> can you post your spec file?
>
> i have build rpms for all alpha builds and now the beta build and never
> saw your issue.

We have faced the same problem. We replaced the line
   %makeinstall
with
   make DESTDIR=%{buildroot} install

The "%makeinstall" macro does not specify a new module directory, nor does 
it set the DESTDIR variable.

Peter



More information about the dovecot mailing list