git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5fd36dd
)
Ensure all packages ExcludeArch: %{ix86}
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 11 Jul 2023 10:01:44 +0000
(11:01 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 11 Jul 2023 10:02:36 +0000
(11:02 +0100)
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
aad9b85
..
8bedabd
100644
(file)
--- 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