9587fd8bdcdb8c8aaac594cb48a74962af57606d
[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-tag = "f33-build-side-19773"
9
10 # The magic string that must appear in %changelog when the
11 # package has been rebuilt.
12 let fedora-rebuild-name = "OCaml 4.10.0 final."
13
14 # Packages that are blocked.  Any dependent packages are also blocked
15 # automatically.
16 # XXX Not implemented, use ignore for now.
17 #let fedora-blocked = [ "ocaml-camlp4" ]
18
19 # Packages that are ignored, which means they are treated as if
20 # they have been rebuilt.
21 let fedora-ignored = [
22     "ocaml-srpm-macros", "ocaml",
23 ]
24
25 # All OCaml-related source package names
26 let other-packages = [
27     "alt-ergo", "apron", "brltty",
28     "graphviz", "hevea", "hivex",
29     "libguestfs", "libnbd",
30     "virt-top", "virt-v2v",
31     "z3",
32
33     # no OCaml code, but needs to be rebuilt after Coq
34     #"flocq"
35
36     # Coq problems:
37     # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/6I2CB4KNAZXH6TKX5WQZJ3ZQGBIOCNJK/
38     # "coq", "frama-c", "gappalib-coq",
39     # "why3", "zenon",
40     # "flocq",
41
42     # Coccinelle uses -unsafe-string.
43     # "coccinelle",
44
45     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
46     # to fix this in goals itself, but in the meantime disable nbdkit
47     # and build it by hand.
48     # "nbdkit",
49
50     # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
51     # "plplot",
52
53     # FTBFS because of a missing dependency.
54     # "opam",
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)