rpm unwanted autodep
Jeffrey Johnson
n3npq at me.com
Mon Aug 31 00:40:43 CEST 2015
> On Aug 30, 2015, at 6:36 PM, Jeffrey Johnson <n3npq at me.com> wrote:
>
>
>> On Aug 26, 2015, at 5:03 AM, Elan Ruusamäe <glen at pld-linux.org> wrote:
>>
>> On 26.08.2015 11:55, Elan Ruusamäe wrote:
>>> hi
>>>
>>> how to avoid rpm to generate python(abi) dependency on this file
>> i tried to input bunch of junk in front of the file, but file-5.24 is SOOOO persistent, it still considers it as python:
>>
>
> Try
> chmod -x lib/fpm/package/pyfpm/get_metadata.py
> to disable automated dependencies
>
> If you really need +x when installed, then add a %attr in %files (rather then adding chmod +x in %post).
>
Yes you trued this. There are certain cases where the *.py suffix is used instead of
the execute bit for dispatching.
I personally consider using paths or suffix’s (instead of content) a bug, but I have been
out-shouted by others over the years.
hah
73 de Jeff
More information about the pld-devel-en
mailing list