I need to support bdist_rpm with the older version of RPM (3.0.5) that ships with AIX.
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
leads to a file list ending with the egg-info directory after listing the files in the egg-info directory.
%files -f INSTALLED_FILES
RPM 3.0.5 ends up recursing the egg-info directory a second time and reporting all the files in the egg-info directory as duplicates and fails when building the RPM.