Get ready for F32 build into side tag.
[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 = "f32-build-side-19863"
10
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.10.0 final (Fedora 32)."
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
26 # All OCaml-related source package names
27 let other-packages = [
28     "alt-ergo", "apron", "brltty",
29     "graphviz", "hevea", "hivex",
30     "libguestfs", "libnbd",
31     "virt-top", "virt-v2v",
32     "z3",
33
34     # no OCaml code, but needs to be rebuilt after Coq
35     #"flocq"
36
37     # Coq problems:
38     # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/6I2CB4KNAZXH6TKX5WQZJ3ZQGBIOCNJK/
39     # "coq", "frama-c", "gappalib-coq",
40     # "why3", "zenon",
41     # "flocq",
42
43     # Coccinelle uses -unsafe-string.
44     # "coccinelle",
45
46     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
47     # to fix this in goals itself, but in the meantime disable nbdkit
48     # and build it by hand.
49     # "nbdkit",
50
51     # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
52     # "plplot",
53
54     # FTBFS because of a missing dependency.
55     # "opam",
56 ]
57
58 pure function get-source-packages () returning strings = {
59     cd %fedora-dir
60     for f in ocaml* %other-packages; do
61         [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
62     done
63 }
64 let fedora-source-packages = get-source-packages ()
65
66 # Main goal: Rebuild all packages in Koji.
67 goal all = : wrap ("is-koji-built", fedora-source-packages)