From 66803be0decccdfa2137b9465c337c2737e9c9b42a8f3f5b122e03956df2e0ed Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 9 Sep 2021 19:14:22 +0000 Subject: [PATCH 1/2] - arm32 may have a kernel named /boot/zImage OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=67 --- supermin.changes | 5 +++++ supermin.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/supermin.changes b/supermin.changes index 729c7e3..d8c235b 100644 --- a/supermin.changes +++ b/supermin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 9 19:19:19 UTC 2021 - ohering@suse.de + +- arm32 may have a kernel named /boot/zImage + ------------------------------------------------------------------- Thu Sep 9 11:38:07 UTC 2021 - Jan Engelhardt diff --git a/supermin.spec b/supermin.spec index 54b0927..0cdcccc 100644 --- a/supermin.spec +++ b/supermin.spec @@ -90,7 +90,7 @@ find %{buildroot} -ls ls -alt /boot /lib/modules || : ls -altd /lib/modules/*/* || : -for i in /boot/image* /boot/Image* /boot/vmlinu* +for i in /boot/image* /boot/Image* /boot/vmlinu* /boot/zImage* do test -f "$i" || continue if get_kernel_version "${i}" > $$ From 9ded880a72384f544612a27bf4d74317ea666e0aa4517254ac95978f352472ad Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sun, 12 Sep 2021 10:22:38 +0000 Subject: [PATCH 2/2] - Restore ExclusiveArch, continue to follow libguestfs The 'almost' below is the reason. OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=68 --- supermin.changes | 6 ++++++ supermin.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/supermin.changes b/supermin.changes index d8c235b..4d459f2 100644 --- a/supermin.changes +++ b/supermin.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 12 10:20:30 UTC 2021 - ohering@suse.de + +- Restore ExclusiveArch, continue to follow libguestfs + The 'almost' below is the reason. + ------------------------------------------------------------------- Thu Sep 9 19:19:19 UTC 2021 - ohering@suse.de diff --git a/supermin.spec b/supermin.spec index 0cdcccc..e79b6da 100644 --- a/supermin.spec +++ b/supermin.spec @@ -59,8 +59,10 @@ Requires: xmlstarlet Requires: zypper Provides: febootstrap %{?ocaml_preserve_bytecode} -# fails to run %%check -ExcludeArch: armv7l +%if "%{?_ignore_exclusive_arch}" == "" +# this must follow libguestfs, which is the only consumer of this pkg +ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64 +%endif %description supermin is a tool for building supermin appliances. These are tiny