From 6101bb52a20c102f413524bfa0c312b65c984d0a Mon Sep 17 00:00:00 2001 From: Louis Gesbert Date: Thu, 31 Jul 2014 16:56:00 +0200 Subject: [PATCH] Removed self-upgrade opam file this wasn't the right place, as it prevents easily pinning opam-lib to source. It will be put on the repository when needed. --- opam | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 opam diff --git a/opam b/opam deleted file mode 100644 index f78d34cef9f..00000000000 --- a/opam +++ /dev/null @@ -1,40 +0,0 @@ -opam-version: "1.2" -maintainer: "Louis Gesbert " -authors: ["Thomas Gazagnaire" "Louis Gesbert" "Anil Madhavapeddy" "Fabrice Le Fessant"] -name: "opam-bin" -version: "1.2.0+dev" -homepage: "https://opam.ocaml.org" -doc: "http://opam.ocaml.org/doc/Basic_Usage.html" -bug-reports: "https://github.com/ocaml/opam/issues" -dev-repo: "git://github.com/ocaml/opam" -license: "LGPL-3.0 with OCaml linking exception" -build: [ - ["./configure"] - [make "opam"] - ["sh" "-c" "echo %{version}% > \"%{root}%/opam.version\""] - ["install" "--backup" "-m" "755" "src/opam" "%{root}%/opam"] -] -remove: ["rm" "-f" "%{root}%/opam" "%{root}%/opam.version"] -depends: [ - "ocamlfind" - "ocamlgraph" - "cmdliner" - "cudf" - "dose" {>= "3.2.2+opam"} - "re" {>= "1.2.0"} -] -# Restrict self-upgrade to "official" versions, just in case -available: [ - switch = "3.12.1" | - switch = "4.00.0" | - switch = "4.00.1" | - switch = "4.01.0" | - switch = "4.02.0" | - (switch = "system" & ocaml-version >= "3.12.1" & ocaml-version <= "4.02.0") -] -post-messages: [ - " -A new version of OPAM has been installed to %{root}%, and will be used -by default. You can bypass it using the `--no-self-upgrade' flag -" {success} -]