On Tue, 24 Aug 2004 10:17:48 +0800, Jeff Pitman wrote: > Oh, and one other quick question. > > Why not use --record instead of worrying about python_sitelib and > python_sitearch? > > %install > %{__python} setup.py install --root=$RPM_BUILD_ROOT > --record=INSTALLED_FILES > > %files -f INSTALLED_FILES > %defattr(-,root,root) > %doc README INSTALL etc. etc. That doesn't include directories (IIRC) and would need extra effort when you want to %ghost *.pyo files.