summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/sip4-tqt
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-04-13 16:04:33 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-04-13 16:04:33 +0200
commit36b384a425893e336f398a2ecde2b80bad31cdc7 (patch)
tree6c43a8d63537a943fb7ab35af7620840fed6c6ac /redhat/dependencies/sip4-tqt
parent9cbd3ceb76482d6e3323d72437fd38bfa14531e0 (diff)
downloadtde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.tar.gz
tde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.zip
RPM: more python3 build fixes
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.spec2
1 files changed, 2 insertions, 0 deletions
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