5 let fedora-dir = "%HOME/d/fedora"
7 let fedora-branch = "master"
8 #let fedora-branch = "f32"
9 let fedora-tag = "f33-build-side-21752"
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"
15 # Packages that are blocked. Any dependent packages are also blocked
17 # XXX Not implemented, use ignore for now.
18 #let fedora-blocked = [ "ocaml-camlp4" ]
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",
25 # Not updated yet for OCaml 4.11.
29 # All OCaml-related source package names
30 let other-packages = [
31 "alt-ergo", "apron", "brltty", "coccinelle",
32 "graphviz", "hevea", "hivex",
34 "libguestfs", "libnbd", "opam",
36 "virt-top", "virt-v2v",
40 "coq", "frama-c", "gappalib-coq",
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.
49 # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
52 # These packages require camlp5 which has not been updated for 4.11.
57 pure function get-source-packages () returning strings = {
59 for f in ocaml* %other-packages; do
60 [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
63 let fedora-source-packages = get-source-packages ()
65 # Main goal: Rebuild all packages in Koji.
66 goal all = : wrap ("is-koji-built", fedora-source-packages)