5 let fedora-dir = "%HOME/d/fedora"
7 #let fedora-branch = "master"
8 let fedora-branch = "f33"
9 let fedora-tag = "f33-build-side-29131"
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.11.1 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",
191 # Causes a cyclic dependency between libnbd <-> nbdkit. We need
192 # to fix this in goals itself, but in the meantime disable nbdkit
193 # and build it by hand.
197 pure function get-source-packages () returning strings = {
199 for f in %packages; do
200 if [ -f $f/%fedora-branch/$f.spec ]; then
203 echo "$f: package is not checked out locally" >&2
208 let fedora-source-packages = get-source-packages ()
210 # Main goal: Rebuild all packages in Koji.
211 goal all = : wrap ("is-koji-built", fedora-source-packages)