Re: Martin Pitt 2011-09-18 <20110918111056.gf3...@piware.de>
>   http://bazaar.launchpad.net/~pitti/postgresql/common/revision/1099 
> 
> Of course it's a bit of a hack, but works with all logrotate versions
> and keeps backportability.

Cool idea.

> > to logrotate, and hope that you will add a "Depends: logrotate (>= 3.8)" 
> 
> That will be unnecessary then.

I think it is necessary, just because a logrotate version was
(un)available at build time doesn't mean that this will be the case at
run time.

Actually, the problem exists both ways, so unless I forgot some
detail, p-common will probably need a Breaks: logrotate (<< 3.8) with
the hack (or a Depends) and a Breaks: logrotate (>= 3.8) without it.
(Shouldn't be too hard to implement with substvars.)

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to