RPM: more python3 build fixes

Signed-off-by: François Andriot <albator78@libertysurf.fr>
pull/219/head
François Andriot 2 years ago
parent 9cbd3ceb76
commit 36b384a425

@ -688,7 +688,9 @@ This package is part of the official TDE bindings module.
%{python_sitearch}/pcop.so %{python_sitearch}/pcop.so
%if 0%{?rhel} == 7 || 0%{?suse_version} %if 0%{?rhel} == 7 || 0%{?suse_version}
%{python_sitearch}/pydcop.py* %{python_sitearch}/pydcop.py*
%if 0%{?rhel} == 7
%{python_sitearch}/__pycache__/pydcop.*.pyc %{python_sitearch}/__pycache__/pydcop.*.pyc
%endif
%else %else
%pycached %{python_sitearch}/pydcop.py %pycached %{python_sitearch}/pydcop.py
%endif %endif

@ -114,8 +114,10 @@ specificity towards C++ and Python.
%if 0%{?rhel} == 7 || 0%{?suse_version} %if 0%{?rhel} == 7 || 0%{?suse_version}
%{python_sitearch}/sip_tqt_config.py* %{python_sitearch}/sip_tqt_config.py*
%{python_sitearch}/sip_tqt_distutils.py* %{python_sitearch}/sip_tqt_distutils.py*
%if 0%{?rhel} == 7
%{python_sitearch}/__pycache__/sip_tqt_config.*.pyc %{python_sitearch}/__pycache__/sip_tqt_config.*.pyc
%{python_sitearch}/__pycache__/sip_tqt_distutils.*.pyc %{python_sitearch}/__pycache__/sip_tqt_distutils.*.pyc
%endif
%else %else
%pycached %{python_sitearch}/sip_tqt_config.py %pycached %{python_sitearch}/sip_tqt_config.py
%pycached %{python_sitearch}/sip_tqt_distutils.py %pycached %{python_sitearch}/sip_tqt_distutils.py

Loading…
Cancel
Save