packing an rpm without source code?

Jon Ciesla limb at jcomserv.net
Mon Jan 24 19:12:56 UTC 2011


Erik Blankinship wrote:
>
>
>     >     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).
>
>  
>
>     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.
>
>
> Right - as long as it is complies with the licensing of the code it 
> should be okay.
>
> I am not sure how to modify %files in my spec file to /remove/ certain 
> file types.
> Any suggestions how to do that?  My %files section is pretty basic 
> right now:
>
>     %files
>     %defattr(-,root,root,-)
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> python-devel mailing list
> python-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/python-devel
You can use %exclude.

But, again, not for inclusion in Fedora.

-J

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

-d. bowie



More information about the python-devel mailing list