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"
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.
28 # https://github.com/ocaml/ocaml/issues/9461
31 # https://bugzilla.redhat.com/show_bug.cgi?id=1825451
33 "ocaml-astring", # all needing topkg...
39 # All OCaml-related source package names
40 let other-packages = [
41 "alt-ergo", "apron", "brltty", "coccinelle",
42 "graphviz", "hevea", "hivex",
44 "libguestfs", "libnbd", "opam",
46 "virt-top", "virt-v2v",
50 "coq", "frama-c", "gappalib-coq",
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.
59 # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
62 # These packages require camlp5 which has not been updated for 4.11.
67 pure function get-source-packages () returning strings = {
69 for f in ocaml* %other-packages; do
70 [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
73 let fedora-source-packages = get-source-packages ()
75 # Main goal: Rebuild all packages in Koji.
76 goal all = : wrap ("is-koji-built", fedora-source-packages)