From 64567d47556eec2100f0ccf0b18b8b4936900739 Mon Sep 17 00:00:00 2001 From: Daniel Steiner Date: Fri, 22 Jul 2022 12:31:29 +0200 Subject: [PATCH] Python alternative setup added --- centos/SPECS/polemarch.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centos/SPECS/polemarch.spec b/centos/SPECS/polemarch.spec index 012ad15..4072664 100644 --- a/centos/SPECS/polemarch.spec +++ b/centos/SPECS/polemarch.spec @@ -44,6 +44,7 @@ Requires: python38-PyMySQL Requires: git Requires: krb5-devel, krb5-libs, openldap-devel Requires: mailcap +Requires: percona-server-client %description Polemarch is service for orchestration infrastructure by ansible. @@ -87,6 +88,7 @@ exit 0 %post %systemd_post %{name}.service sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate +update-alternatives --set python /usr/bin/python3.8 %preun %systemd_preun %{name}.service