id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc
93	setup.py install --record-rpm lists _yaml.so even if not build	werner.ho@…	xi	"
pyyaml version 3.06.
the bug wasn't there in 3.05

I'm installing pyyaml with the following command to create an rpm package:

{{{
python setup.py install --prefix=%{_prefix} \
		--root=$RPM_BUILD_ROOT \
		--record-rpm=INSTALLED_FILES
}}}

Inside the file INSTALLED_FILES the _yaml.so file is listed even if that file is not installed.

{{{
/usr/lib64/python2.5/site-packages/yaml/resolver.pyc
/usr/lib64/python2.5/site-packages/yaml/scanner.pyc
/usr/lib64/python2.5/site-packages/_yaml.so
/usr/lib64/python2.5/site-packages/PyYAML-3.06-py2.5.egg-info
%dir /usr/lib64/python2.5/site-packages/yaml
}}}

Workaround: 
Either remove that line from the file before packaging or just do not use the file listing.

Regards
Werner"	defect	closed	low	pyyaml	normal	fixed		
