Disable ocaml-atd, ocaml-camlp5, coq, swig
[fedora-ocaml-rebuild.git] / Goalfile
index 8bedabd..ea13f69 100644 (file)
--- a/Goalfile
+++ b/Goalfile
@@ -28,7 +28,8 @@ let fedora-ignored = [
 let packages = [
     "ocaml-alcotest",
     "ocaml-astring",
-    "ocaml-atd",
+    # Temporarily disable because python3 flake8 is not installable
+    #"ocaml-atd",
     "ocaml-augeas",
     "ocaml-autoconf",
     "ocaml-base",
@@ -45,7 +46,8 @@ let packages = [
     "ocaml-camlidl",
     "ocaml-camlimages",
     "ocaml-camlp-streams",
-    "ocaml-camlp5",
+    # Waiting on two dependencies to be reviewed
+    #"ocaml-camlp5",
     "ocaml-camomile",
     "ocaml-cinaps",
     "ocaml-cmdliner",
@@ -60,8 +62,7 @@ let packages = [
     "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",
@@ -190,7 +191,8 @@ let packages = [
     "apron",
     "brltty",
     "coccinelle",
-    "coq",
+    # Fails to build, I asked jjames.
+    #"coq",
     "flocq",
     "frama-c",
     "gappalib-coq",
@@ -198,14 +200,14 @@ let packages = [
     "haxe",
     "hevea",
     "hivex",
-    "laby",
     "libguestfs",
     "libnbd",
     "opam",
     "plplot",
     "prooftree",
     "supermin",
-    "swig",
+    # Tests fail for unclear reasons.
+    #"swig",
     "utop",
     "virt-top",
     "virt-v2v",
@@ -225,14 +227,11 @@ pure function get-source-packages () returning strings = {
     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
-                exit 1
-            fi
             # Check that the spec file excludes i686.
-            if ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then
+            # 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