Ticket #93 (closed defect: fixed)

Opened 2 months ago

Last modified 4 days ago

setup.py install --record-rpm lists _yaml.so even if not build

Reported by: werner.ho@gmx.de Assigned to: xi
Priority: low Component: pyyaml
Severity: normal Keywords:
Cc:

Description

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

Attachments

Change History

11/30/08 09:09:51 changed by xi

  • status changed from new to closed.
  • resolution set to fixed.

--record-rpm is a non-standard distutils extension so I cannot reproduce this bug. However I hope this problem was fixed in [301]. I'm closing this ticket, but feel free to reopen it if the problem persists.


Add/Change #93 (setup.py install --record-rpm lists _yaml.so even if not build)




Change Properties
Action