diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-04-13 16:04:33 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-04-13 16:04:33 +0200 |
commit | 36b384a425893e336f398a2ecde2b80bad31cdc7 (patch) | |
tree | 6c43a8d63537a943fb7ab35af7620840fed6c6ac | |
parent | 9cbd3ceb76482d6e3323d72437fd38bfa14531e0 (diff) | |
download | tde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.tar.gz tde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.zip |
RPM: more python3 build fixes
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r-- | redhat/core/tdebindings/tdebindings.spec | 2 | ||||
-rw-r--r-- | redhat/dependencies/sip4-tqt/sip4-tqt.spec | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/redhat/core/tdebindings/tdebindings.spec b/redhat/core/tdebindings/tdebindings.spec index 6a69b7d9c..9f3bf5d1b 100644 --- a/redhat/core/tdebindings/tdebindings.spec +++ b/redhat/core/tdebindings/tdebindings.spec @@ -688,7 +688,9 @@ This package is part of the official TDE bindings module. %{python_sitearch}/pcop.so %if 0%{?rhel} == 7 || 0%{?suse_version} %{python_sitearch}/pydcop.py* +%if 0%{?rhel} == 7 %{python_sitearch}/__pycache__/pydcop.*.pyc +%endif %else %pycached %{python_sitearch}/pydcop.py %endif diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec index 299f98393..0c60df09d 100644 --- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -114,8 +114,10 @@ specificity towards C++ and Python. %if 0%{?rhel} == 7 || 0%{?suse_version} %{python_sitearch}/sip_tqt_config.py* %{python_sitearch}/sip_tqt_distutils.py* +%if 0%{?rhel} == 7 %{python_sitearch}/__pycache__/sip_tqt_config.*.pyc %{python_sitearch}/__pycache__/sip_tqt_distutils.*.pyc +%endif %else %pycached %{python_sitearch}/sip_tqt_config.py %pycached %{python_sitearch}/sip_tqt_distutils.py |