Re: [libvirt] [PATCH] spec: Do not install *.py[co] in python examples

2012-12-18 Thread Jiri Denemark
On Tue, Dec 18, 2012 at 16:27:27 +, Daniel P. Berrange wrote: > On Mon, Dec 17, 2012 at 08:23:11PM +0100, Jiri Denemark wrote: > > Unfortunately, rpm is stupid enough to bytycompile python scripts even > > though they are located in /usr/share/doc/libvirt-python-*/examples and > > it does so af

Re: [libvirt] [PATCH] spec: Do not install *.py[co] in python examples

2012-12-18 Thread Daniel P. Berrange
On Mon, Dec 17, 2012 at 08:23:11PM +0100, Jiri Denemark wrote: > Unfortunately, rpm is stupid enough to bytycompile python scripts even > though they are located in /usr/share/doc/libvirt-python-*/examples and > it does so after %install phase is finished. Thus there's no way we > could remove thos

[libvirt] [PATCH] spec: Do not install *.py[co] in python examples

2012-12-17 Thread Jiri Denemark
Unfortunately, rpm is stupid enough to bytycompile python scripts even though they are located in /usr/share/doc/libvirt-python-*/examples and it does so after %install phase is finished. Thus there's no way we could remove those files from BUILDROOT. As a workaround, we may safely remove the examp