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",
26 # All OCaml-related source package names
27 let other-packages = [
28 "alt-ergo", "apron", "brltty", "coccinelle",
29 "graphviz", "haxe", "hevea", "hivex",
30 "libguestfs", "libnbd", "opam",
32 "virt-top", "virt-v2v",
36 "coq", "frama-c", "gappalib-coq",
40 # Causes a cyclic dependency between libnbd <-> nbdkit. We need
41 # to fix this in goals itself, but in the meantime disable nbdkit
42 # and build it by hand.
45 # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
48 # https://bugzilla.redhat.com/show_bug.cgi?id=1799570
52 pure function get-source-packages () returning strings = {
54 for f in ocaml* %other-packages; do
55 [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
58 let fedora-source-packages = get-source-packages ()
60 # Main goal: Rebuild all packages in Koji.
61 goal all = : wrap ("is-koji-built", fedora-source-packages)