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",
68 "ocaml-jane-street-headers",
85 "ocaml-migrate-parsetree",
99 "ocaml-ocplib-endian",
100 "ocaml-ocplib-simplex",
104 "ocaml-opam-file-format",
114 "ocaml-ppx-custom-printf",
115 "ocaml-ppx-derivers",
116 "ocaml-ppx-deriving",
117 "ocaml-ppx-deriving-yojson",
118 "ocaml-ppx-enumerate",
119 "ocaml-ppx-fields-conv",
123 "ocaml-ppx-inline-test",
124 "ocaml-ppx-js-style",
127 "ocaml-ppx-sexp-conv",
129 "ocaml-ppx-tools-versioned",
130 "ocaml-ppx-variants-conv",
131 "ocaml-psmt2-frontend",
160 "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)