[Pkg-ocaml-maint-commits] [ocaml] 01/02: Add a versioned Provides so we can have versioned Build-Depends elsewhere

Ximin Luo infinity0 at debian.org
Wed Nov 2 12:25:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository ocaml.

commit 433f37b90afc17af0b657de68b5812f273bf7ecd
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Nov 2 13:08:21 2016 +0100

    Add a versioned Provides so we can have versioned Build-Depends elsewhere
---
 debian/control    | 4 ++--
 debian/control.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 085b2ee..449cc80 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,7 @@ Depends:
  binutils
 Provides:
  ${ocaml:Provides},
- ${F:BestProvides},
+ ${F:BestProvides} (= ${binary:Version}),
  libnums-ocaml-dev
 Suggests:
  ocaml-doc,
@@ -153,7 +153,7 @@ Depends:
  gcc, binutils,
  ${shlibs:Depends},
  ${misc:Depends}
-Provides: ocaml-best-compilers
+Provides: ocaml-best-compilers (= ${binary:Version})
 Replaces: ocaml-nox (<= 3.09.2-3)
 Description: Native code compilers of the OCaml suite (the .opt ones)
  Objective Caml (OCaml) is an implementation of the ML language, based on
diff --git a/debian/control.in b/debian/control.in
index 2ed859e..e3a696e 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -37,7 +37,7 @@ Depends:
  binutils
 Provides:
  ${ocaml:Provides},
- ${F:BestProvides},
+ ${F:BestProvides} (= ${binary:Version}),
  libnums-ocaml-dev
 Suggests:
  ocaml-doc,
@@ -153,7 +153,7 @@ Depends:
  gcc, binutils,
  ${shlibs:Depends},
  ${misc:Depends}
-Provides: ocaml-best-compilers
+Provides: ocaml-best-compilers (= ${binary:Version})
 Replaces: ocaml-nox (<= 3.09.2-3)
 Description: Native code compilers of the OCaml suite (the .opt ones)
  Objective Caml (OCaml) is an implementation of the ML language, based on

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml.git



More information about the Pkg-ocaml-maint-commits mailing list