-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi folks, I'm attempting to make an RPM of the Python package backports.lzma for a One Laptop Per Child project using bdist_rpm.
tar xzf backports.lzma-0.0.2.tar.gz cd backports.lzma-0.0.2 python setup.py bdist_rpm
My problem is that more than one python library wants to live under the "backports" directory, resulting in a backports/__init__.py file conflict on SOME platforms as each RPM attempts to create the backports/__init__.py file in its parent directory.
For example, backports.lzma RPM conflicts with python-backports-ssl_match_hostname
file /usr/lib/python2.7/site-packages/backports/__init__.py from install of backports.lzma-0.0.2-1.armv7hl conflicts with file from package python-backports-ssl_match_hostname-3.2-0.3.a3.fc18.noarch
I am uncertain how to resolve this. Is there a way for an RPM to only create the backports/__init__.py file if it does not already exist? There are a number of packages which would want to live under the backports/ module.
Any advice appreciated.
Thanks, Braddock Gaskill
python-devel@lists.fedoraproject.org