diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-11-10 18:06:02 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-11-10 18:06:15 +0100 |
commit | 904d1e092483ee658ea62dcfab44d9962843f227 (patch) | |
tree | 9a45ae4bbb4fb5e5bf70a8bb55184c80752c789d /redhat/libraries/pytde/pytde.spec | |
parent | 3da26236a5f931eae506b2aa7109549f041c8e22 (diff) | |
download | tde-packaging-904d1e092483ee658ea62dcfab44d9962843f227.tar.gz tde-packaging-904d1e092483ee658ea62dcfab44d9962843f227.zip |
RPM: add support for Fedora 39
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/libraries/pytde/pytde.spec')
-rw-r--r-- | redhat/libraries/pytde/pytde.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/libraries/pytde/pytde.spec b/redhat/libraries/pytde/pytde.spec index 9f59833f5..1b605fa00 100644 --- a/redhat/libraries/pytde/pytde.spec +++ b/redhat/libraries/pytde/pytde.spec @@ -63,7 +63,9 @@ BuildRequires: autoconf automake libtool m4 BuildRequires: gcc-c++ # PYTHON support +%if "%{python}" == "" %global python python3 +%endif %global __python %__python3 %global python_sitearch %{python3_sitearch} %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} |