RPM

Comment 4 for bug 633650

Revision history for this message
Jeff Johnson (n3npq) wrote :

(continuing)
     All *.rpm packages should include *.pyc files.
so that rpm's means to attach SELinux's file contexts
could be used. But RPM could easily automate *.pyc
regeneration where needed. The issue would be
behavior with --verify but an additional
      changed because regenerated by rpm while installing
could be added (and filtered as desired) with --verify.

(aside)
Another reason for packaging *.pyc was to ensure that --erase
also removed side effects like generated/changed *.pyc.
The side effect could be handled in other ways during rpm --erase, like a glob on
*.pyc in same directory, and attaching the same file resolution handling to
*.rpmsave/*.rpmorig/*.rpmnew like resolutions other than just calling unlink(2).