X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fedora_ocaml_rebuild.ml;h=352a38c76e1c1c558345f275883a2ebdcf9d527e;hb=0af7eb8508526f0a6a7a0a80164b9c5380b2783e;hp=13a8c016b34a3d92cbb118d44b87c9b32d6d09af;hpb=5af4344c2ba347a22ab1229aa9d0f1e46585a8be;p=goaljobs-goals.git diff --git a/fedora_ocaml_rebuild.ml b/fedora_ocaml_rebuild.ml index 13a8c01..352a38c 100644 --- a/fedora_ocaml_rebuild.ml +++ b/fedora_ocaml_rebuild.ml @@ -9,7 +9,7 @@ open Git open Fedora let branch = "master" -let side_tag = Some "f24-ocaml" +let side_tag = Some "f27-ocaml" let koji_target = match side_tag with @@ -19,7 +19,7 @@ let koji_target = (* The name of the rebuild, and also the magic substring that must * appear in the %changelog when the package has been rebuilt. *) -let rebuild_name = "OCaml 4.02.3" +let rebuild_name = "OCaml 4.04.1" (* Local repository that contains build dependencies. *) let yum_repo = "koji-rawhide" @@ -28,8 +28,7 @@ let yum_repo = "koji-rawhide" * dependent packages. *) let blocked = [ - "ocaml-pa-do"; (* orphaned *) - "ocaml-camlp5"; (* not updated to 4.02.3 yet *) + "brltty"; (* broken for non-OCaml reasons *) ] let blocked pkg = List.mem pkg blocked @@ -37,19 +36,22 @@ let blocked pkg = List.mem pkg blocked let ignored = [ "ocaml-srpm-macros"; (* don't need to build this *) "ocaml"; (* rebuilt by hand *) - "whenjobs"; (* obsolete *) ] let ignored pkg = List.mem pkg ignored (* List of OCaml-related source package names. *) let source_packages = - let dirs = shlines "cd %s && ls -1d ocaml*" fedora_dir in + let dirs = shlines " + cd %s && \ + for f in ocaml*; do + [ -f \"$f/master/$f.spec\" ] && echo \"$f\" + done + " fedora_dir in dirs @ [ "alt-ergo"; "apron"; "brltty"; "coccinelle"; "coq"; "cduce"; "frama-c"; "gappalib-coq"; "graphviz"; "hevea"; "hivex"; - "js-of-ocaml"; "plplot"; "virt-top"; "why3"; "z3"; + "plplot"; "virt-top"; "why3"; "z3"; "flocq" (* no OCaml code, but needs to be rebuilt after Coq *); - "guestfs-browser"; "libguestfs"; - "virt-dmesg" ] + "guestfs-browser"; "libguestfs" ] (* Dependencies of each package. (pkg, [deps ...]) *) let pkg_deps = dependencies branch source_packages