rpm unwanted autodep

Elan Ruusamäe glen at pld-linux.org
Wed Aug 26 10:55:21 CEST 2015


how to avoid rpm to generate python(abi) dependency on this file
previously it helped to remove executable bit, but the bit is not 
present already.
is the problem because "file" says "executable"?

$ head lib/fpm/package/pyfpm/get_metadata.py
from distutils.core import Command
import os
import sys
import pkg_resources
     import json
except ImportError:
     import simplejson as json

PY3 = sys.version_info[0] == 3
$ file lib/fpm/package/pyfpm/get_metadata.py
lib/fpm/package/pyfpm/get_metadata.py: Python script, ASCII text executable

$ LC_ALL=C ls -l lib/fpm/package/pyfpm/get_metadata.py
-rw-r--r-- 1 glen users 3395 Aug 26 11:51 


More information about the pld-devel-en mailing list