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.
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.
python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
For fedora? You don't. You must have source code.
-J
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
On Mon, Jan 24, 2011 at 8:13 AM, Athmane Madjoudj athmanem@gmail.comwrote:
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).
Erik Blankinship wrote:
On Mon, Jan 24, 2011 at 8:13 AM, Athmane Madjoudj <athmanem@gmail.com mailto:athmanem@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@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
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,-)
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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel
You can use %exclude.
But, again, not for inclusion in Fedora.
-J
python-devel@lists.fedoraproject.org