[Pkg-ocaml-maint-commits] [ocaml] 01/02: Fix substvars syntax for the native case and mention in d/changelog

Ximin Luo infinity0 at debian.org
Wed Nov 2 17:14:25 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 2879347e8304f097d0c22fb0b91880c72d45592e
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Nov 2 14:27:08 2016 +0100

    Fix substvars syntax for the native case and mention in d/changelog
---
 debian/changelog  | 7 +++++++
 debian/control    | 2 +-
 debian/control.in | 2 +-
 debian/rules      | 2 +-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b728479..100e287 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ocaml (4.03.0-4) UNRELEASED; urgency=medium
+
+  * Add a versioned Provides so we can have versioned Build-Depends
+    on ocaml-best-compilers in other packages.
+
+ -- Ximin Luo <infinity0 at debian.org>  Wed, 02 Nov 2016 14:26:43 +0100
+
 ocaml (4.03.0-3) experimental; urgency=medium
 
   * Default to PIC on arm, to fix failing armhf tests.
diff --git a/debian/control b/debian/control
index 449cc80..bf7f537 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,7 @@ Depends:
  binutils
 Provides:
  ${ocaml:Provides},
- ${F:BestProvides} (= ${binary:Version}),
+ ${F:BestProvides},
  libnums-ocaml-dev
 Suggests:
  ocaml-doc,
diff --git a/debian/control.in b/debian/control.in
index e3a696e..4a5b539 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -37,7 +37,7 @@ Depends:
  binutils
 Provides:
  ${ocaml:Provides},
- ${F:BestProvides} (= ${binary:Version}),
+ ${F:BestProvides},
  libnums-ocaml-dev
 Suggests:
  ocaml-doc,
diff --git a/debian/rules b/debian/rules
index 4df28eb..d9ec2fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -248,7 +248,7 @@ override_dh_gencontrol:
 	  echo 'F:OCamlABI=$(OCAML_ABI)' >> debian/$$u.substvars; \
 	done
 ifeq (,$(OCAML_OPT_ARCH))
-	echo 'F:BestProvides=ocaml-best-compilers' >> debian/ocaml-nox.substvars
+	echo 'F:BestProvides=ocaml-best-compilers (= ${binary:Version})' >> debian/ocaml-nox.substvars
 else
 	echo 'F:BestProvides=' >> debian/ocaml-nox.substvars
 endif

-- 
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