Python alternative setup added

This commit is contained in:
2022-07-22 12:31:29 +02:00
parent efdcd75e05
commit 64567d4755

View File

@@ -44,6 +44,7 @@ Requires: python38-PyMySQL
Requires: git Requires: git
Requires: krb5-devel, krb5-libs, openldap-devel Requires: krb5-devel, krb5-libs, openldap-devel
Requires: mailcap Requires: mailcap
Requires: percona-server-client
%description %description
Polemarch is service for orchestration infrastructure by ansible. Polemarch is service for orchestration infrastructure by ansible.
@@ -87,6 +88,7 @@ exit 0
%post %post
%systemd_post %{name}.service %systemd_post %{name}.service
sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate
update-alternatives --set python /usr/bin/python3.8
%preun %preun
%systemd_preun %{name}.service %systemd_preun %{name}.service