dealing with "contrib" type directories
Michael A. Peters
mpeters at mac.com
Sun May 21 04:18:14 UTC 2006
On Sat, 2006-05-20 at 20:31 -0700, Chris Petersen wrote:
> A couple of the things I package have "contrib" directories, and I'm
> wondering what the appropriate method is for dealing with them.
>
> Traditionally, I put them in %doc, which seems like a reasonable enough
> place.
>
> This brings me to my second problem: dependencies. rpm automatically
> extracts dependencies from all executable scripts in a package,
> including those listed in %doc. To get around this, I have to chmod all
> of the files in contrib directories to be non-executable.
>
> Is this the correct way to handle things? Is there a better way?
That is the correct way AFAIK.
If they call /usr/local/bin/{perl,python,etc} it is kind to change them
to /usr/bin/ but I'm not sure that is necessary if you are going to
remove the execution bit.
More information about the fedora-extras-list
mailing list