Disable ocaml-topkg.
[fedora-ocaml-rebuild.git] / Goalfile
1 # See README.
2
3 include "fedora.gl"
4
5 let fedora-dir = "%HOME/d/fedora"
6
7 let fedora-branch = "master"
8 #let fedora-branch = "f32"
9 let fedora-tag = "f33-build-side-21752"
10
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.11.0 pre-release"
14
15 # Packages that are blocked.  Any dependent packages are also blocked
16 # automatically.
17 # XXX Not implemented, use ignore for now.
18 #let fedora-blocked = [ "ocaml-camlp4" ]
19
20 # Packages that are ignored, which means they are treated as if
21 # they have been rebuilt.
22 let fedora-ignored = [
23     "ocaml-srpm-macros", "ocaml",
24
25     # Not updated yet for OCaml 4.11.
26     "ocaml-camlp5",
27
28     # https://github.com/ocaml/ocaml/issues/9461
29     "ocaml-perl4caml",
30
31     # https://bugzilla.redhat.com/show_bug.cgi?id=1825451
32     "ocaml-topkg",
33     "ocaml-astring",  # all needing topkg...
34     "ocaml-uutf",
35     "ocaml-fmt",
36     "ocaml-uuidm",
37 ]
38
39 # All OCaml-related source package names
40 let other-packages = [
41     "alt-ergo", "apron", "brltty", "coccinelle",
42     "graphviz", "hevea", "hivex",
43     "laby",
44     "libguestfs", "libnbd", "opam",
45     "utop",
46     "virt-top", "virt-v2v",
47     "z3",
48
49     # For Coq:
50     "coq", "frama-c", "gappalib-coq",
51     "zenon",
52     "flocq",
53
54     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
55     # to fix this in goals itself, but in the meantime disable nbdkit
56     # and build it by hand.
57     #"nbdkit",
58
59     # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
60     # "plplot",
61
62     # These packages require camlp5 which has not been updated for 4.11.
63     #"haxe",
64     #"why3",
65 ]
66
67 pure function get-source-packages () returning strings = {
68     cd %fedora-dir
69     for f in ocaml* %other-packages; do
70         [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
71     done
72 }
73 let fedora-source-packages = get-source-packages ()
74
75 # Main goal: Rebuild all packages in Koji.
76 goal all = : wrap ("is-koji-built", fedora-source-packages)