summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdebindings
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-01-13 14:05:34 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2024-01-13 14:05:34 +0100
commit77a683a7fa948a02541c27bbeb873fab1d863607 (patch)
treeaa7a04e465afb705d3eeccd676ce8b699befc5ad /redhat/core/tdebindings
parent1ea737d7fb70c48dee90597dd2fb8bb521f55fec (diff)
downloadtde-packaging-77a683a7fa948a02541c27bbeb873fab1d863607.tar.gz
tde-packaging-77a683a7fa948a02541c27bbeb873fab1d863607.zip
RPM: fedora39: update build scripts
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/core/tdebindings')
-rw-r--r--redhat/core/tdebindings/tdebindings.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/core/tdebindings/tdebindings.spec b/redhat/core/tdebindings/tdebindings.spec
index ab5f9fa6d..27fb4156b 100644
--- a/redhat/core/tdebindings/tdebindings.spec
+++ b/redhat/core/tdebindings/tdebindings.spec
@@ -1143,6 +1143,11 @@ if [ -d "/usr/include/python3.6m" ]; then
EXTRA_INCLUDES="/usr/include/python3.6m:${EXTRA_INCLUDES}"
fi
+# Fedora >= 39 comes with python 3.12, but we want version 3.11
+%if 0%{?fedora} >= 39
+export PYTHON=%{__python3}
+%endif
+
# Warning: GCC visibility causes FTBFS [Bug #1285]
%configure \
--prefix=%{tde_prefix} \