From d8a1512d34559be713c40bf1b60940213ccde29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 11 Apr 2023 17:18:24 +0200 Subject: RPM: more updates related to python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/dependencies/sip4-tqt/sip4-tqt.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'redhat/dependencies/sip4-tqt/sip4-tqt.spec') 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 ########## -- cgit v1.2.1