4.11.0 pre release build attempt 2
[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 attempt 2"
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
29 # All OCaml-related source package names
30 let other-packages = [
31     "alt-ergo", "apron", "brltty", "coccinelle",
32     "graphviz", "hevea", "hivex",
33     "laby",
34     "libguestfs", "libnbd", "opam",
35     "utop",
36     "virt-top", "virt-v2v",
37     "z3",
38
39     # For Coq:
40     "coq", "frama-c", "gappalib-coq",
41     "zenon",
42     "flocq",
43
44     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
45     # to fix this in goals itself, but in the meantime disable nbdkit
46     # and build it by hand.
47     #"nbdkit",
48
49     # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
50     # "plplot",
51
52     # These packages require camlp5 which has not been updated for 4.11.
53     #"haxe",
54     #"why3",
55 ]
56
57 pure function get-source-packages () returning strings = {
58     cd %fedora-dir
59     for f in ocaml* %other-packages; do
60         [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
61     done
62 }
63 let fedora-source-packages = get-source-packages ()
64
65 # Main goal: Rebuild all packages in Koji.
66 goal all = : wrap ("is-koji-built", fedora-source-packages)