[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- From: Chris Petersen <lists forevermore net>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Date: Sat, 09 Sep 2006 15:22:38 -0700
Callum Lerwick wrote:
> On Sat, 2006-09-09 at 21:45 +0200, Michael Schwendt wrote:
>> One good reason is you ought to prefer
>>
>> %post -p /sbin/ldconfig
>> %postun -p /sbin/ldconfig
>>
>> so rpm can optimise execution of such "scriptlets" and add automatic
>> dependencies on /sbin/ldconfig. This is especially useful in packages
>> where you will never execute more than ldconfig anyway.
>
> In fact, rpmlint will complain about one line scriptlets if you don't do
> this. I bet the comment lines faked out rpmlint, making it think it
> wasn't a one line script, thus allowing this to pass review...
Check the Requires(post) and Requires(postun) sections...
-Chris
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- 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]
[Thread Index]
[Date Index]
[Author Index]