Re: Problems with scripts in a common spec file

2016-05-30 Thread Tomas Orsava
Hi! On 05/27/2016 07:44 PM, John Dennis wrote: On 05/27/2016 10:10 AM, Tomas Orsava wrote: I think the python2-XXX package in the examples is missing something like this: Requires: %{_bindir}/sample-exec Make sense? I believe there is a misunderstanding. In your first message you said

Re: Problems with scripts in a common spec file

2016-05-27 Thread John Dennis
On 05/27/2016 10:10 AM, Tomas Orsava wrote: I think the python2-XXX package in the examples is missing something like this: Requires: %{_bindir}/sample-exec Make sense? I believe there is a misunderstanding. In your first message you said "But the guidelines require the py3 version of the

Re: Problems with scripts in a common spec file

2016-05-27 Thread Tomas Orsava
Hi! On 05/26/2016 07:38 PM, John Dennis wrote: On 05/26/2016 08:24 AM, Tomas Orsava wrote: Hi, those are very good questions to which you should be able to find answers on the Python RPM Porting Guide [0]. You are right that this should be better covered in the packaging guidelines, sadly the

Re: Problems with scripts in a common spec file

2016-05-26 Thread John Dennis
On 05/26/2016 08:24 AM, Tomas Orsava wrote: Hi, those are very good questions to which you should be able to find answers on the Python RPM Porting Guide [0]. You are right that this should be better covered in the packaging guidelines, sadly the process of changing them is rather problematic

Problems with scripts in a common spec file

2016-05-25 Thread John Dennis
With reference to the guidelines for Python packaging found here: https://fedoraproject.org/wiki/Packaging:Python Specifically the material concerning executables in /usr/bin. In the "Example common spec file" section is this comment. # Must do the python2 install first because the scripts in