[issue1533164] Installed but not listed *.pyo break bdist_rpm

Martin v. Löwis report at bugs.python.org
Sat Feb 28 11:35:22 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

See comment 1 in

https://bugzilla.redhat.com/show_bug.cgi?id=236535

It might be that this patch still doesn't solve the problem, namely if
there are non-library .py files in the distribution. They get compiled
by brp-python-bytecompile, but the byte code files are not listed.

Apparently, the solution is to either %define
_unpackaged_files_terminate_build 0, or redefine %__os_install_post (to
what value?). Not sure which one is better.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1533164>
_______________________________________


More information about the Python-bugs-list mailing list