SPECS: openldap.spec - %preun & %postun should never fail (said

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Sun Nov 28 05:51:31 CET 2004


twittner wrote:
> 
> Author: twittner                     Date: Sat Nov 27 17:32:36 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - %preun & %postun should never fail (said saq ?) - added || :

%post and %preun should never fail.
In postun it is no problem.
So why do you want to hide errors here ?

> +%postun	libs
> +/sbin/ldconfig || :

And this way you cause dependency is not autogwnerated ?

> +	%userremove slapd || :
> +	%groupremove slapd || :

IMO partially to be reverted.

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry at mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology




More information about the pld-devel-en mailing list