Fix packaging byte-compilation to comply with PEP 3147 (#11254).

I want to replace custom byte-compiling function with calls to
compileall before 3.3b1, but in the short term it’s good to have this
fixed.

Adapted from the distutils patch by Jeff Ramnani.  I tested with -B, -O
and -OO; test_util and test_mixin2to3 fail in -O mode because lib2to3
doesn’t support it.
diff --git a/Misc/NEWS b/Misc/NEWS
index f185b41..953671b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -304,7 +304,7 @@
 - Fix distutils.sysconfig.get_makefile_filename when Python was configured with
   different prefix and exec-prefix.
 
-- Issue #11254: Teach distutils to compile .pyc and .pyo files in
+- Issue #11254: Teach distutils and packaging to compile .pyc and .pyo files in
   PEP 3147-compliant __pycache__ directories.
 
 - Issue #7367: Fix pkgutil.walk_paths to skip directories whose