# See README. include "fedora.gl" let fedora-dir = "%HOME/d/fedora" let fedora-branch = "master" #let fedora-branch = "f32" let fedora-tag = "f33-build-side-22796" # The magic string that must appear in %changelog when the # package has been rebuilt. let fedora-rebuild-name = "OCaml 4.11.0+dev2-2020-04-22 rebuild" # Packages that are blocked. Any dependent packages are also blocked # automatically. # XXX Not implemented, use ignore for now. #let fedora-blocked = [ "ocaml-camlp4" ] # Packages that are ignored, which means they are treated as if # they have been rebuilt. let fedora-ignored = [ "ocaml-srpm-macros", "ocaml", ] # All OCaml-related source package names let other-packages = [ "alt-ergo", "apron", "brltty", "coccinelle", "graphviz", "haxe", "hevea", "hivex", "laby", "libguestfs", "libnbd", "opam", "plplot", "utop", "virt-top", "virt-v2v", "why3", "z3", # For Coq: "coq", "frama-c", "gappalib-coq", "zenon", "flocq", # Causes a cyclic dependency between libnbd <-> nbdkit. We need # to fix this in goals itself, but in the meantime disable nbdkit # and build it by hand. #"nbdkit", ] pure function get-source-packages () returning strings = { cd %fedora-dir for f in ocaml* %other-packages; do [ -f $f/%fedora-branch/$f.spec ] && echo "$f" done } let fedora-source-packages = get-source-packages () # Main goal: Rebuild all packages in Koji. goal all = : wrap ("is-koji-built", fedora-source-packages)