(* The name of the rebuild, and also the magic substring that must
* appear in the %changelog when the package has been rebuilt.
*)
(* The name of the rebuild, and also the magic substring that must
* appear in the %changelog when the package has been rebuilt.
*)
"ocaml-mikmatch"; (* build failure on 4.02.0 *)
"ocaml-omake"; (* build failure on 4.02.0 with hevea *)
"ocaml-p3l"; (* build failure on 4.02.0 -warn-error A *)
"ocaml-pa-do"; (* build failure, complex *)
"ocaml-lwt"; (* build failure on 4.02.0 *)
"ocaml-preludeml"; (* build failure *)
"ocaml-mikmatch"; (* build failure on 4.02.0 *)
"ocaml-omake"; (* build failure on 4.02.0 with hevea *)
"ocaml-p3l"; (* build failure on 4.02.0 -warn-error A *)
"ocaml-pa-do"; (* build failure, complex *)
"ocaml-lwt"; (* build failure on 4.02.0 *)
"ocaml-preludeml"; (* build failure *)
"whenjobs"; (* obsolete *)
"libguestfs"; (* rebuilt by hand *)
"graphviz"; (* rebuilt by hand *)
"whenjobs"; (* obsolete *)
"libguestfs"; (* rebuilt by hand *)
"graphviz"; (* rebuilt by hand *)
+(* We could make this a goal, but it's cheap enough to run it unconditionally. *)
+let install_build_dependencies pkg =
+ sh "sudo yum clean all --disablerepo=\\* --enablerepo=%s"
+ (quote yum_repo);
+ sh "sudo yum-builddep -y --disablerepo=\\* --enablerepo=%s %s"
+ (quote yum_repo) (fedora_specfile pkg branch)
+
(* Goal: rebuild all packages. *)
let rec goal all () =
List.iter (fun pkg -> require (rebuild_started pkg)) source_packages
(* Goal: rebuild all packages. *)
let rec goal all () =
List.iter (fun pkg -> require (rebuild_started pkg)) source_packages