From 433f37b90afc17af0b657de68b5812f273bf7ecd Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Wed, 2 Nov 2016 13:08:21 +0100 Subject: [PATCH] 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 085b2ee7..449cc807 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 2ed859e7..e3a696e2 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 -- 2.30.2