Re: Problems with script installation in RPM's

2016-05-13 Thread John Dennis
On 05/13/2016 03:43 PM, Jason L Tibbitts III wrote: FYI, an updated python macros package is in Rawhide which includes the sleep. Thank you. I don't think manually deleting some random at a special place in the spec is a proper solution. +1 setuptools should really be either fixed upstrea

Re: Problems with script installation in RPM's

2016-05-13 Thread Jason L Tibbitts III
FYI, an updated python macros package is in Rawhide which includes the sleep. I don't think manually deleting some random at a special place in the spec is a proper solution. setuptools should really be either fixed upstream or patched in Fedora to fix this issue. It may not be able to depend on

Re: Problems with script installation in RPM's

2016-05-12 Thread Martin Bukatovic
On Thu, May 12, 2016 at 12:26:45PM -0400, John Dennis wrote: > On 05/12/2016 11:24 AM, Tomas Orsava wrote: > > That seems like the best argument and solution, I'll amend the Python > > RPM Porting Guide [PyRPG] accordingly. > > > > [PyRPG] http://python-rpm-porting.readthedocs.io/ > > Well, it lo

Re: Problems with script installation in RPM's

2016-05-12 Thread John Dennis
On 05/12/2016 11:24 AM, Tomas Orsava wrote: On 05/12/2016 05:16 PM, Miro Hrončok wrote: On 12.5.2016 15:24, John Dennis wrote: On 05/11/2016 11:54 AM, Petr Viktorin wrote: On 05/11/2016 05:16 PM, John Dennis wrote: The workaround I came up with is to delay the execution of %py3_build by at le

Re: Problems with script installation in RPM's

2016-05-12 Thread Tomas Orsava
On 05/12/2016 05:16 PM, Miro Hrončok wrote: On 12.5.2016 15:24, John Dennis wrote: On 05/11/2016 11:54 AM, Petr Viktorin wrote: On 05/11/2016 05:16 PM, John Dennis wrote: The workaround I came up with is to delay the execution of %py3_build by at least 1 second by inserting a sleep in-between

Re: Problems with script installation in RPM's

2016-05-12 Thread Miro Hrončok
On 12.5.2016 15:24, John Dennis wrote: On 05/11/2016 11:54 AM, Petr Viktorin wrote: On 05/11/2016 05:16 PM, John Dennis wrote: The workaround I came up with is to delay the execution of %py3_build by at least 1 second by inserting a sleep in-between the %py2_build and %py3_build macros in the s

Re: Problems with script installation in RPM's

2016-05-12 Thread John Dennis
On 05/11/2016 11:54 AM, Petr Viktorin wrote: On 05/11/2016 05:16 PM, John Dennis wrote: The workaround I came up with is to delay the execution of %py3_build by at least 1 second by inserting a sleep in-between the %py2_build and %py3_build macros in the spec file, like this: %py2_build sleep 1

Re: Problems with script installation in RPM's

2016-05-12 Thread Petr Viktorin
On 05/11/2016 06:48 PM, Jason L Tibbitts III wrote: >> "PV" == Petr Viktorin writes: > > PV> Unfortunately, changing the Guidelines isn't trivial – we have a > PV> ticket that's been sitting in FPC's queue for half a year [1]... > > Thanks for the snark. My apologies, reading this now this

Re: Problems with script installation in RPM's

2016-05-11 Thread Jason L Tibbitts III
> "PV" == Petr Viktorin writes: PV> Unfortunately, changing the Guidelines isn't trivial – we have a PV> ticket that's been sitting in FPC's queue for half a year [1]... Thanks for the snark. Nobody has submitted a draft and that ticket isn't particularly urgent The original request in

Re: Problems with script installation in RPM's

2016-05-11 Thread Petr Viktorin
On 05/11/2016 05:16 PM, John Dennis wrote: > I've been following the guidelines for Python packaging found here: > > https://fedoraproject.org/wiki/Packaging:Python > > in particular the cookbook for supporting both Py2 and Py3. > > I've discovered two places where things fail to work as expecte

Problems with script installation in RPM's

2016-05-11 Thread John Dennis
I've been following the guidelines for Python packaging found here: https://fedoraproject.org/wiki/Packaging:Python in particular the cookbook for supporting both Py2 and Py3. I've discovered two places where things fail to work as expected with respect to script installation. Both of these pr