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",
42 "ocaml-charinfo-width",
46 "ocaml-compiler-libs-janestreet",
73 "ocaml-jane-street-headers",
74 # "ocaml-jsonm", https://bugzilla.redhat.com/show_bug.cgi?id=1183825
93 "ocaml-migrate-parsetree",
108 "ocaml-ocplib-endian",
109 "ocaml-ocplib-simplex",
113 "ocaml-opam-file-format",
124 "ocaml-ppx-custom-printf",
125 "ocaml-ppx-derivers",
126 "ocaml-ppx-deriving",
127 "ocaml-ppx-deriving-yojson",
128 "ocaml-ppx-enumerate",
129 "ocaml-ppx-fields-conv",
132 "ocaml-ppx-inline-test",
133 "ocaml-ppx-js-style",
136 "ocaml-ppx-sexp-conv",
138 "ocaml-ppx-variants-conv",
139 "ocaml-psmt2-frontend",
169 "ocaml-xmlrpc-light",
201 # Causes a cyclic dependency between libnbd <-> nbdkit. We need
202 # to fix this in goals itself, but in the meantime disable nbdkit
203 # and build it by hand.
207 pure function get-source-packages () returning strings = {
209 for f in %packages; do
210 if [ -f $f/%fedora-branch/$f.spec ]; then
212 elif [ -f $f/%fedora-branch/dead.package ]; then
213 echo "WARNING: $f: is a dead package, ignored" >&2
215 echo "$f: package is not checked out locally" >&2
220 let fedora-source-packages = get-source-packages ()
222 # Main goal: Rebuild all packages in Koji.
223 goal all = : wrap ("is-koji-built", fedora-source-packages)