Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 21 May 2006 12:27:50 -0700, Chris Petersen wrote:

> Author: xris
> 
> Update of /cvs/extras/rpms/lineakd/devel

> %post
> 
> /sbin/ldconfig
> 
> ################################################################################
> 
> %postun
> 
> /sbin/ldconfig
> 
> ################################################################################

This .spec file should not have been approved in a review. Inserting
such "#######..." lines in the middle of [and below] scriptlet sections
bears a big risk. They become part of the scriptlets itself. This causes
bad breakage in RPM transactions when /bin/sh is not the scriptlet interpreter.
Has happened before regularly, so avoid "######..." lines like the plague.
Use multiple empty lines instead.

Further, in this case the better scriptlets would be to make
/sbin/ldconfig the program which to execute directly:

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux