[Bug 977638] Review Request: python-espeak - Python bindings for espeak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=977638



--- Comment #24 from Eduardo Echeverria <echevemaster@xxxxxxxxx> ---
Hi Eduardo 
has seen if the subpackage are built?
if you put with_python3 1 without to do the changes on %prep, py3 directory
doesn't will be found.

so add on %prep

%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%endif # with_python3

Also 
/espeak/core.so
are in both packages 
you need set permissions for both

if you will build for epel you should take into acount that python2 macro
doesn't exist in epel.
here you go a workaround
%{!?__python2: %global __python2 %{__python}}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]