5 let fedora-dir = "%HOME/d/fedora"
7 let fedora-branch = "master"
8 let fedora-tag = "f32-build-side-18015"
10 #let koji = "koji -p riscv64"
12 #let fedpkg = "fedpkg --user-config %HOME/d/fedora-ocaml-rebuild/fedpkg-user-config"
14 # The magic string that must appear in %changelog when the
15 # package has been rebuilt.
16 let fedora-rebuild-name = "OCaml 4.10.0+beta1 rebuild."
18 # Packages that are blocked. Any dependent packages are also blocked
20 # XXX Not implemented, use ignore for now.
21 #let fedora-blocked = [ "ocaml-camlp4" ]
23 # Packages that are ignored, which means they are treated as if
24 # they have been rebuilt.
25 let fedora-ignored = [
26 "ocaml-srpm-macros", "ocaml",
28 # https://bugzilla.redhat.com/show_bug.cgi?id=1792769
29 "ocaml-base", "ocaml-parsexp", "ocaml-sexplib", "ocaml-odoc",
31 # https://bugzilla.redhat.com/show_bug.cgi?id=1792780
32 "ocaml-lwt", "ocaml-curl", "ocaml-lambda-term",
33 "ocaml-lwt-log", "ocaml-markup", "utop", "ocaml-tyxml",
36 # All OCaml-related source package names
37 let other-packages = [
38 "alt-ergo", "apron", "brltty",
39 "graphviz", "hevea", "hivex",
40 "libguestfs", "libnbd",
41 "virt-top", "virt-v2v",
43 # no OCaml code, but needs to be rebuilt after Coq
47 # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/6I2CB4KNAZXH6TKX5WQZJ3ZQGBIOCNJK/
48 # "coq", "frama-c", "gappalib-coq",
52 # causes stack overflow in goals expr_to_shell_string
53 # when handling EList. Is the list returned too long?
56 # plplot FTBFS for unrelated reasons
59 # https://bugzilla.redhat.com/show_bug.cgi?id=1792740
62 # Coccinelle uses -unsafe-string.
65 # https://bugzilla.redhat.com/show_bug.cgi?id=1792770
68 pure function get-source-packages () returning strings = {
70 for f in ocaml* %other-packages; do
71 [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
74 let fedora-source-packages = get-source-packages ()
76 # Main goal: Rebuild all packages in Koji.
77 goal all = : wrap ("*koji-built", fedora-source-packages)