5 let fedora-dir = "%HOME/d/fedora"
7 let fedora-branch = "rawhide"
8 #let fedora-branch = "f34"
9 let fedora-tag = "f36-build-side-46495"
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.13.1 build"
15 # Packages that are ignored, which means they are treated as if
16 # they have been rebuilt.
17 let fedora-ignored = [
18 "ocaml-srpm-macros", "ocaml",
21 # All OCaml-related source package names
31 "ocaml-bigarray-compat",
41 "ocaml-charinfo-width",
45 "ocaml-compiler-libs-janestreet",
72 "ocaml-jane-street-headers",
73 # "ocaml-jsonm", https://bugzilla.redhat.com/show_bug.cgi?id=1183825
91 "ocaml-migrate-parsetree",
105 "ocaml-ocplib-endian",
106 "ocaml-ocplib-simplex",
110 "ocaml-opam-file-format",
121 "ocaml-ppx-custom-printf",
122 "ocaml-ppx-derivers",
123 "ocaml-ppx-deriving",
124 "ocaml-ppx-deriving-yojson",
125 "ocaml-ppx-enumerate",
126 "ocaml-ppx-fields-conv",
129 "ocaml-ppx-inline-test",
130 "ocaml-ppx-js-style",
133 "ocaml-ppx-sexp-conv",
135 "ocaml-ppx-variants-conv",
136 "ocaml-psmt2-frontend",
164 "ocaml-xmlrpc-light",
180 # requires ocaml-ppx-tools-versioned-devel
197 # Causes a cyclic dependency between libnbd <-> nbdkit. We need
198 # to fix this in goals itself, but in the meantime disable nbdkit
199 # and build it by hand.
203 pure function get-source-packages () returning strings = {
205 for f in %packages; do
206 if [ -f $f/%fedora-branch/$f.spec ]; then
208 elif [ -f $f/%fedora-branch/dead.package ]; then
209 echo "WARNING: $f: is a dead package, ignored" >&2
211 echo "$f: package is not checked out locally" >&2
216 let fedora-source-packages = get-source-packages ()
218 # Main goal: Rebuild all packages in Koji.
219 goal all = : wrap ("is-koji-built", fedora-source-packages)