Re: problem regarding rpmbuild : creating rpm for python files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 20.10.10 20:17, saurabh verma wrote:
>
> And when i try to run rpmbuild -ba command on this spec file , rpmbuild
> tried to optimize the python byte coded files , which i can see from ( i
> guess macros ) " + /usr/lib/rpm/brp-python-bytecompile" , and fails
> after that .
>
> http://pastie.org/1236040
>
> please help me about controlling this behaviour so that I can skip the
> "brp-python-bytecompile" section .

Instead you could declare pyo files as ghosts, for instance:

%ghost /usr/lib/python2.4/site-packages/punjab/error.pyo

-- 
Best Regards,
Markus Falb

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux