From fe666bfa0c8f8b12d254006a287b47c8692039eb Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Tue, 5 Sep 2023 14:52:46 +0200 Subject: [PATCH] redefine python to python3 for el7 --- core/platforms/packaging/bareos.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/core/platforms/packaging/bareos.spec b/core/platforms/packaging/bareos.spec index 5bc69c19d83..fd7cbef83af 100644 --- a/core/platforms/packaging/bareos.spec +++ b/core/platforms/packaging/bareos.spec @@ -97,6 +97,7 @@ BuildRequires: libtirpc-devel %if 0%{?rhel} == 7 %define webui 0 +%define __python python3 %endif # use Developer Toolset 8 compiler as standard is too old