Description of problem: These private unit tests should not be installed in the RPM, not least because they clash with other (bogusly installed) test files from python-boto. This prevents installation of openstack in Fedora 17 updates-testing # rpm -ql python-paste-script | grep /usr/lib/python2.7/site-packages/tests /usr/lib/python2.7/site-packages/tests /usr/lib/python2.7/site-packages/tests/__init__.py /usr/lib/python2.7/site-packages/tests/__init__.pyc /usr/lib/python2.7/site-packages/tests/__init__.pyo /usr/lib/python2.7/site-packages/tests/appsetup /usr/lib/python2.7/site-packages/tests/appsetup/__init__.py /usr/lib/python2.7/site-packages/tests/appsetup/__init__.pyc /usr/lib/python2.7/site-packages/tests/appsetup/__init__.pyo /usr/lib/python2.7/site-packages/tests/appsetup/test_make_project.py /usr/lib/python2.7/site-packages/tests/appsetup/test_make_project.pyc /usr/lib/python2.7/site-packages/tests/appsetup/test_make_project.pyo /usr/lib/python2.7/site-packages/tests/test_egg_finder.py /usr/lib/python2.7/site-packages/tests/test_egg_finder.pyc /usr/lib/python2.7/site-packages/tests/test_egg_finder.pyo /usr/lib/python2.7/site-packages/tests/test_logging_config.py /usr/lib/python2.7/site-packages/tests/test_logging_config.pyc /usr/lib/python2.7/site-packages/tests/test_logging_config.pyo /usr/lib/python2.7/site-packages/tests/test_plugin_adder.py /usr/lib/python2.7/site-packages/tests/test_plugin_adder.pyc /usr/lib/python2.7/site-packages/tests/test_plugin_adder.pyo /usr/lib/python2.7/site-packages/tests/test_template_introspect.py /usr/lib/python2.7/site-packages/tests/test_template_introspect.pyc /usr/lib/python2.7/site-packages/tests/test_template_introspect.pyo Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This problem was missed because of badly designed %files rules: %files %defattr(-,root,root,-) %doc docs/* %{python_sitelib}/* This last line should be rewritten as %{python_sitelib}/PasteScript-* %{python_sitelib}/paste So that future RPM updates will error out at build time if bogus files get dropped into the sitelib directory.
*** This bug has been marked as a duplicate of bug 797813 ***