From 7c7ffe0a279bb9507bdefa4d06f8bd0e2dd4b810 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 11 Jul 2023 11:01:44 +0100 Subject: [PATCH] Ensure all packages ExcludeArch: %{ix86} --- Goalfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Goalfile b/Goalfile index aad9b85..8bedabd 100644 --- a/Goalfile +++ b/Goalfile @@ -231,6 +231,11 @@ pure function get-source-packages () returning strings = { echo "ERROR: $pkg does not %%undefine _package_note_flags" >&2 exit 1 fi + # Check that the spec file excludes i686. + if ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then + echo "ERROR: $pkg does not ExcludeArch: %%{ix86}" >&2 + exit 1 + fi # OK to rebuild this package. echo "$pkg" elif [ -f $pkg/%fedora-branch/dead.package ]; then -- 1.8.3.1