From 65cfaeae58b7f0e395f757344c8a69fbfb46f942 Mon Sep 17 00:00:00 2001 From: "Christian.Rohr" Date: Sun, 19 May 2024 16:26:59 +0200 Subject: [PATCH 1/2] Added missing Python dependency --- ovirt-hosted-engine-setup.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ovirt-hosted-engine-setup.spec.in b/ovirt-hosted-engine-setup.spec.in index d22d649b..938debd7 100644 --- a/ovirt-hosted-engine-setup.spec.in +++ b/ovirt-hosted-engine-setup.spec.in @@ -61,6 +61,7 @@ Requires: %{python_target_version}-netaddr Requires: %{python_target_version}-otopi >= 1.9.0 Requires: %{python_target_version}-ovirt-setup-lib >= 1.3.3 Requires: %{python_target_version}-six +Requires: python3.11-pip BuildRequires: %{python_target_version}-devel BuildRequires: %{python_target_version}-pytest @@ -151,6 +152,7 @@ make %{?_smp_mflags} install DESTDIR="%{buildroot}" %{vdsmhooksdir}/before_vm_start/ %post +python3.11 -m pip install netaddr touch %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf chmod 600 %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf %{python_interpreter} -c ' From 108911ca2f166a1e31e6582361fef287d0f1535f Mon Sep 17 00:00:00 2001 From: "Christian.Rohr" Date: Sun, 19 May 2024 16:26:59 +0200 Subject: [PATCH 2/2] Added missing Python dependency Signed-off-by: Author ChrisRo89 --- ovirt-hosted-engine-setup.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ovirt-hosted-engine-setup.spec.in b/ovirt-hosted-engine-setup.spec.in index d22d649b..938debd7 100644 --- a/ovirt-hosted-engine-setup.spec.in +++ b/ovirt-hosted-engine-setup.spec.in @@ -61,6 +61,7 @@ Requires: %{python_target_version}-netaddr Requires: %{python_target_version}-otopi >= 1.9.0 Requires: %{python_target_version}-ovirt-setup-lib >= 1.3.3 Requires: %{python_target_version}-six +Requires: python3.11-pip BuildRequires: %{python_target_version}-devel BuildRequires: %{python_target_version}-pytest @@ -151,6 +152,7 @@ make %{?_smp_mflags} install DESTDIR="%{buildroot}" %{vdsmhooksdir}/before_vm_start/ %post +python3.11 -m pip install netaddr touch %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf chmod 600 %{_sysconfdir}/ovirt-hosted-engine/virsh_auth.conf %{python_interpreter} -c '