let packages = [
"ocaml-alcotest",
"ocaml-astring",
- "ocaml-atd",
+ # Temporarily disable because python3 flake8 is not installable
+ #"ocaml-atd",
"ocaml-augeas",
"ocaml-autoconf",
"ocaml-base",
"ocaml-camlidl",
"ocaml-camlimages",
"ocaml-camlp-streams",
- "ocaml-camlp5",
+ # Waiting on two dependencies to be reviewed
+ #"ocaml-camlp5",
"ocaml-camomile",
"ocaml-cinaps",
"ocaml-cmdliner",
"ocaml-curses",
"ocaml-dbus",
"ocaml-dose3",
- # Cyclic dependency ocaml-dune -> ocaml-pp -> ocaml-dune
- #"ocaml-dune",
+ "ocaml-dune",
"ocaml-easy-format",
"ocaml-expat",
"ocaml-extlib",
"apron",
"brltty",
"coccinelle",
- "coq",
+ # Fails to build, I asked jjames.
+ #"coq",
"flocq",
"frama-c",
"gappalib-coq",
"haxe",
"hevea",
"hivex",
- "laby",
"libguestfs",
"libnbd",
"opam",
"plplot",
"prooftree",
"supermin",
- "swig",
+ # Tests fail for unclear reasons.
+ #"swig",
"utop",
"virt-top",
"virt-v2v",
for pkg in %packages; do
spec=$pkg/%fedora-branch/$pkg.spec
if [ -f $spec ]; then
- # Check that all spec files have disabled the broken
- # "package notes" misfeature.
- if ! grep -sq "%%undefine _package_note_flags" $spec ; then
- echo "ERROR: $pkg does not %%undefine _package_note_flags" >&2
+ # Check that the spec file excludes i686.
+ # Only implement this check for ocaml-* packages, as the
+ # other packages are more complicated.
+ if [[ "$spec" =~ ^ocaml ]] &&
+ ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then
+ echo "ERROR: $pkg does not ExcludeArch: %%{ix86}" >&2
exit 1
fi
# OK to rebuild this package.