--- Comment #8 from Antonio Trande <trpost(a)katamail.com> ---
(In reply to comment #6)
(In reply to comment #5)
> Only a few questions raised by the spec file, since I'm short on time:
>
>
> > # Turn off the brp-python-bytecompile script
>
> _Why_ is it turnt off?
>
>
> > %global __python %{__python3}
>
> > BuildRequires: python2-devel
> > BuildRequires: python3-devel
>
> Both?
>
> $ rpm --query --Requires scopy|grep py
> /usr/bin/python
>
> That would be Python 2.
> On the contrary:
>
> $ cat /usr/bin/scopy
> #!/bin/bash
> cd /usr/share/scopy/src
> env python scopy.py
>
> That would be like "#! /usr/bin/env python", which is discouraged. Have
> found only this:
>
>
http://fedoraproject.org/wiki/Script_Interpreters_%28draft%29
>
http://fedoraproject.org/wiki/Packaging:Python
>
>
> > # Manually invoke the python byte compile macro for file that needs byte
> > # compilation.
>
> Why?
>
> > %py_byte_compile %{__python3}
$RPM_BUILD_ROOT%{_datadir}/src/Actions/Multiplayer.py
>
> That gives an error in the build.log. The path is wrong. %name is missing.
Right. I have fixed it and probably (after to have read again the error)
Bytecompiling is not involved.
"IdentationError" is a write error. Or am I wrong again ?
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug