summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdebindings/tdebindings.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2023-04-13 16:04:33 +0200
committerFrançois Andriot <[email protected]>2023-04-13 16:04:33 +0200
commit36b384a425893e336f398a2ecde2b80bad31cdc7 (patch)
tree6c43a8d63537a943fb7ab35af7620840fed6c6ac /redhat/core/tdebindings/tdebindings.spec
parent9cbd3ceb76482d6e3323d72437fd38bfa14531e0 (diff)
downloadtde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.tar.gz
tde-packaging-36b384a425893e336f398a2ecde2b80bad31cdc7.zip
RPM: more python3 build fixes
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'redhat/core/tdebindings/tdebindings.spec')
-rw-r--r--redhat/core/tdebindings/tdebindings.spec2
1 files changed, 2 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