fedora package: include python byte compiled files
authorFlavio Leitner <fbl@redhat.com>
Tue, 3 Dec 2013 01:13:16 +0000 (23:13 -0200)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 4 Dec 2013 19:22:07 +0000 (11:22 -0800)
commitcd0f388e2717a2a07f0aef67b25ad718ddf2cc98
treefc85c4f77f96d11c7675aceb0c41d013c62cd72a
parentb60f804eef06c15751393c3c2ea58fb7c9df7aa8
fedora package: include python byte compiled files

Include byte compiled files to speed up the execution,
to avoid spurious SELinux AVC denials and also to make
rpm happy when checking for unpackaged files:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/openvswitch/python/argparse.pyc
   /usr/share/openvswitch/python/argparse.pyo
   /usr/share/openvswitch/python/ovs/__init__.pyc
   [...]

Package guideline reference:
https://fedoraproject.org/wiki/Packaging:Python?rd=Packaging/Python#Files_to_include

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
rhel/openvswitch-fedora.spec.in