packing an rpm without source code?

Jon Ciesla limb at jcomserv.net
Mon Jan 24 13:29:53 UTC 2011


Erik Blankinship wrote:
>
>
> On Mon, Jan 24, 2011 at 8:13 AM, Athmane Madjoudj <athmanem at gmail.com 
> <mailto:athmanem at gmail.com>> wrote:
>
>     On 01/24/2011 05:36 AM, Erik Blankinship wrote:
>     > Can someone point me at an example of how to package a fedora
>     python rpm
>     > without the source code (only the .pyc or .pyo files)?
>     >
>     > Would I make this change in my spec file?
>     >
>     > Thank you for your help.
>     >
>     >
>
>     You can't, it's against packaging guidelines
>
>     See: http://fedoraproject.org/wiki/Packaging/Python#Source_files
>
>
> While I appreciate and would like to respect the guidelines, is it 
> technically possible to create a python rpm without source?  This rpm 
> would only be distributed as a downloadable file (not via yum).
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> python-devel mailing list
> python-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/python-devel
Probably, just put the files in the right place and list them in %files. 
So long as it's not for public consumption, or complies with the 
licensing of the code.

-J

-- 
in your fear, seek only peace
in your fear, seek only love

-d. bowie



More information about the python-devel mailing list