FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-23-2010, 03:49 PM
Markus Falb
 
Default problem regarding rpmbuild : creating rpm for python files

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 02:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org