5 let fedora-dir = "%HOME/d/fedora"
7 let fedora-branch = "master"
8 #let fedora-branch = "f32"
9 let fedora-tag = "f34-build-side-28234"
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 rebuild"
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
40 "ocaml-charinfo-width",
44 "ocaml-compiler-libs-janestreet",
67 "ocaml-jane-street-headers",
84 "ocaml-migrate-parsetree",
98 "ocaml-ocplib-endian",
99 "ocaml-ocplib-simplex",
103 "ocaml-opam-file-format",
113 "ocaml-ppx-custom-printf",
114 "ocaml-ppx-derivers",
115 "ocaml-ppx-deriving",
116 "ocaml-ppx-deriving-yojson",
117 "ocaml-ppx-enumerate",
118 "ocaml-ppx-fields-conv",
122 "ocaml-ppx-inline-test",
123 "ocaml-ppx-js-style",
126 "ocaml-ppx-sexp-conv",
128 "ocaml-ppx-tools-versioned",
129 "ocaml-ppx-variants-conv",
130 "ocaml-psmt2-frontend",
159 "ocaml-xmlrpc-light",
192 # Causes a cyclic dependency between libnbd <-> nbdkit. We need
193 # to fix this in goals itself, but in the meantime disable nbdkit
194 # and build it by hand.
198 pure function get-source-packages () returning strings = {
200 for f in %packages; do
201 if [ -f $f/%fedora-branch/$f.spec ]; then
204 echo "$f: package is not checked out locally" >&2
209 let fedora-source-packages = get-source-packages ()
211 # Main goal: Rebuild all packages in Koji.
212 goal all = : wrap ("is-koji-built", fedora-source-packages)