Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=890859 --- Comment #8 from Antonio Trande <trpost@xxxxxxxxxxxx> --- (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 https://bugzilla.redhat.com/token.cgi?t=sjHWDgYSN0&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review