From 217cb9fe15ff56c0e67cd8b99172f0c6357812536cd792da0fa7604c39d96040 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Fri, 1 Dec 2023 12:15:08 +0000 Subject: [PATCH] Accepting request 1130163 from home:olh:branches:Virtualization - Remove obsolete requirement for ocaml-gettext-stub-devel - Require OCaml 4.07+ - Align ExclusiveArch with libguestfs OBS-URL: https://build.opensuse.org/request/show/1130163 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-v2v?expand=0&rev=39 --- virt-v2v.changes | 7 +++++++ virt-v2v.spec | 12 +++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/virt-v2v.changes b/virt-v2v.changes index 1bf1534..1be8ede 100644 --- a/virt-v2v.changes +++ b/virt-v2v.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 30 22:22:22 UTC 2023 - olaf@aepfle.de + +- Remove obsolete requirement for ocaml-gettext-stub-devel +- Require OCaml 4.07+ +- Align ExclusiveArch with libguestfs + ------------------------------------------------------------------- Wed Feb 8 16:08:19 MST 2023 - carnold@suse.com diff --git a/virt-v2v.spec b/virt-v2v.spec index 4dff0ed..b68bb94 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -45,11 +45,10 @@ BuildRequires: libosinfo-devel BuildRequires: libvirt-devel BuildRequires: libxml2-devel BuildRequires: mkisofs -BuildRequires: ocaml >= 4.01 +BuildRequires: ocaml(ocaml_base_version) >= 4.07 BuildRequires: ocaml-fileutils-devel BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-gettext-devel -BuildRequires: ocaml-gettext-stub-devel BuildRequires: ocaml-hivex-devel BuildRequires: ocaml-libguestfs BuildRequires: ocaml-libguestfs-devel @@ -78,13 +77,8 @@ Recommends: nbdkit-nbd-plugin Recommends: nbdkit-python-plugin Recommends: nbdkit-ssh-plugin Recommends: nbdkit-vddk-plugin -# libguestfs hasn't been built on i686 for a while since there is no -# kernel built for this architecture any longer and libguestfs rather -# fundamentally depends on the kernel. Therefore we must exclude this -# arch. Note there is no bug filed for this because we do not ever -# expect that libguestfs or virt-v2v will be available on i686 so -# there is nothing that needs fixing. -ExcludeArch: %{ix86} +# Build only for architectures that have a kernel +ExclusiveArch: x86_64 ppc64le s390x aarch64 riscv64 %if 0%{patches_touch_autotools} BuildRequires: autoconf BuildRequires: automake