[Fedora-packaging] Executable example scripts in docs

Ralf Corsepius rc040203 at freenet.de
Fri Mar 13 11:50:44 UTC 2009


Michael Schwendt wrote:
> On Fri, 13 Mar 2009 09:00:07 +0000, Richard wrote:
> 
>> I raised this on fedora-devel-list here:
>> https://www.redhat.com/archives/fedora-devel-list/2009-March/thread.html#00355
>>
>> in relationship to this review request:
>> https://bugzilla.redhat.com/show_bug.cgi?id=487527
>>
>> My opinion is that executable example scripts are fine and that
>> rpmlint is wrong to warn about them.  Probably we should have some
>> guidelines in this area because currently the situation is a bit
>> confused.
>>
>> What do Fedora packager folk think?

IMO, such files are useful, helpful and should be allowed.

rpmlint is overzealous in warning about them.


> Warnings are no review blockers.

Unfortunately, these warnings are justified, because rpm mis-treats such 
files.

 > Such a warning is good, because it can happen that doc files are +x by
 > mistake. Since executable scripts are easier to execute accidentally
 > than non-executable scripts, making them -x is safer.
Only if you have them in $PATH.

Ralf




More information about the Fedora-packaging mailing list