X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Goalfile;h=8bedabd6af5cd8f3ab08b4eb90f4201aebb42d86;hb=7c7ffe0a279bb9507bdefa4d06f8bd0e2dd4b810;hp=aad9b85449579e39ce6a61e751fa9bff749c7f03;hpb=5fd36dda74323add27b49491a05312cf844915b8;p=fedora-ocaml-rebuild.git 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