diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-04-11 17:18:24 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-04-11 17:18:24 +0200 |
commit | d8a1512d34559be713c40bf1b60940213ccde29d (patch) | |
tree | fe8206d2acc4ca6def42897f5c225ad7d1dab4d6 /redhat/dependencies/sip4-tqt | |
parent | c58c672b5a1d7cbd8f0294cd9251d754cb44db26 (diff) | |
download | tde-packaging-d8a1512d34559be713c40bf1b60940213ccde29d.tar.gz tde-packaging-d8a1512d34559be713c40bf1b60940213ccde29d.zip |
RPM: more updates related to python3
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/dependencies/sip4-tqt')
-rw-r--r-- | redhat/dependencies/sip4-tqt/sip4-tqt.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec index 3abec1152..299f98393 100644 --- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -111,9 +111,15 @@ specificity towards C++ and Python. %files -n sip4-tqt %defattr(-,root,root,-) %{python_sitearch}/sip_tqt.so +%if 0%{?rhel} == 7 || 0%{?suse_version} %{python_sitearch}/sip_tqt_config.py* %{python_sitearch}/sip_tqt_distutils.py* -%{python_sitearch}/__pycache__/*.pyc +%{python_sitearch}/__pycache__/sip_tqt_config.*.pyc +%{python_sitearch}/__pycache__/sip_tqt_distutils.*.pyc +%else +%pycached %{python_sitearch}/sip_tqt_config.py +%pycached %{python_sitearch}/sip_tqt_distutils.py +%endif ########## |