[Pkg-ocaml-maint-commits] r1883 - trunk/packages/ocaml/trunk/debian
Sven Luther
luther at costa.debian.org
Wed Nov 2 10:39:14 UTC 2005
Author: luther
Date: 2005-11-02 10:39:13 +0000 (Wed, 02 Nov 2005)
New Revision: 1883
Modified:
trunk/packages/ocaml/trunk/debian/control
trunk/packages/ocaml/trunk/debian/rules
Log:
Tentative try of removal of explicit abi numbers from the control file in favour of ${F:OCamlABI}.
Modified: trunk/packages/ocaml/trunk/debian/control
===================================================================
--- trunk/packages/ocaml/trunk/debian/control 2005-11-02 10:17:16 UTC (rev 1882)
+++ trunk/packages/ocaml/trunk/debian/control 2005-11-02 10:39:13 UTC (rev 1883)
@@ -8,10 +8,10 @@
Package: ocaml-nox
Architecture: any
-Depends: libncurses5-dev, ocaml-base-nox (=${Source-Version}), ocaml-base-nox-3.09.0, ocaml-interp-3.09.0, gcc, binutils
+Depends: libncurses5-dev, ocaml-base-nox (=${Source-Version}), ocaml-base-nox-${F:OcamlABI}, ocaml-interp-${F:OcamlABI}, gcc, binutils
Suggests: ocaml-doc, libgdbm-dev, tuareg-mode | ocaml-mode
Recommends: ledit, file
-Provides: ocaml-nox-3.09.0 ${F:BestProvides}, libnums-ocaml-dev
+Provides: ocaml-nox-${F:OcamlABI} ${F:BestProvides}, libnums-ocaml-dev
Replaces: camlp4, ocaml (<< 3.07.2a-3), libnums-ocaml-dev
Conflicts: camlp4, camlidl (<< 1.04), ocaml (<< 3.07.2a-3), libnums-ocaml-dev
Description: ML language implementation with a class-based object system
@@ -39,9 +39,9 @@
Package: ocaml
Architecture: any
-Depends: ocaml-base (= ${Source-Version}), ocaml-base-3.09.0, ocaml-nox-3.09.0
+Depends: ocaml-base (= ${Source-Version}), ocaml-base-${F:OcamlABI}, ocaml-nox-${F:OcamlABI}
Suggests: xlibs-dev, tcl8.4-dev, tk8.4-dev
-Provides: ocaml-3.09.0
+Provides: ocaml-${F:OcamlABI}
Description: ML language implementation with a class-based object system
Objective Caml is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
@@ -67,7 +67,7 @@
Package: ocaml-base-nox
Architecture: any
-Provides: ocaml-base-nox-3.09.0, libnums-ocaml
+Provides: ocaml-base-nox-${F:OcamlABI}, libnums-ocaml
Depends: ${shlibs:Depends}
Replaces: ocaml-base (<< 3.07.2a-3), libnums-ocaml
Conflicts: ocaml (<< 3.04-2), ocaml-base (<< 3.07.2a-3), libnums-ocaml
@@ -82,8 +82,8 @@
Package: ocaml-base
Architecture: any
-Depends: ${shlibs:Depends}, ocaml-base-nox-3.09.0
-Provides: ocaml-base-3.09.0
+Depends: ${shlibs:Depends}, ocaml-base-nox-${F:OcamlABI}
+Provides: ocaml-base-${F:OcamlABI}
Description: Runtime system for ocaml bytecode executables
Objective Caml is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
@@ -96,7 +96,7 @@
Package: ocaml-native-compilers
Architecture: alpha amd64 arm hppa i386 ia64 powerpc sparc
-Depends: ocaml-nox (= ${Source-Version}), ocaml-nox-3.09.0, gcc, binutils, ${shlibs:Depends}
+Depends: ocaml-nox (= ${Source-Version}), ocaml-nox-${F:OcamlABI}, gcc, binutils, ${shlibs:Depends}
Provides: ocaml-best-compilers
Description: Native code compilers of the ocaml suite (the .opt ones)
Objective Caml is an implementation of the ML language, based on
@@ -111,7 +111,7 @@
Package: ocaml-source
Architecture: all
-Provides: ocaml-source-3.09.0
+Provides: ocaml-source-${F:OcamlABI}
Description: Sources for Objective Caml
Objective Caml is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
@@ -123,8 +123,8 @@
Package: ocaml-interp
Architecture: any
-Provides: ocaml-interp-3.09.0
-Depends: ocaml-base-nox-3.09.0
+Provides: ocaml-interp-${F:OcamlABI}
+Depends: ocaml-base-nox-${F:OcamlABI}
Replaces: ocaml (<< 3.07.2a-3)
Conflicts: ocaml (<< 3.07.2a-3)
Description: Ocaml interpreter and standard libraries
@@ -137,8 +137,8 @@
Package: ocaml-compiler-libs
Architecture: any
-Provides: ocaml-compiler-libs-3.09.0
-Depends: ocaml-nox-3.09.0
+Provides: ocaml-compiler-libs-${F:OcamlABI}
+Depends: ocaml-nox-${F:OcamlABI}
Description: Ocaml interpreter and standard libraries
Objective Caml is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
Modified: trunk/packages/ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml/trunk/debian/rules 2005-11-02 10:17:16 UTC (rev 1882)
+++ trunk/packages/ocaml/trunk/debian/rules 2005-11-02 10:39:13 UTC (rev 1883)
@@ -9,6 +9,7 @@
include /usr/share/dpatch/dpatch.make
PACKAGE = ocaml
VERSION = 3.09.0
+OCAMLABI = $(VERSION)
STDLIBDIR = /usr/lib/ocaml/$(VERSION)
MD5SUMSDIR = /var/lib/ocaml/md5sums
@@ -258,11 +259,14 @@
dh_shlibdeps -s
if [ ! -e opt-built-stamp ]; then \
dh_gencontrol -pocaml-nox \
- -u-VF:BestProvides=",ocaml-best-compilers"; \
+ -u-VF:BestProvides=",ocaml-best-compilers" \
+ -u-VF:OcamlABI="$(OCAMLABI); \
else \
dh_gencontrol -pocaml-nox \
- -u-VF:BestProvides=""; \
- dh_gencontrol -pocaml-native-compilers; \
+ -u-VF:BestProvides="" \
+ -u-VF:OcamlABI="$(OCAMLABI); \
+ dh_gencontrol -pocaml-native-compilers \
+ -u-VF:OcamlABI="$(OCAMLABI); \
fi
dh_gencontrol -pocaml
dh_gencontrol -pocaml-base-nox
More information about the Pkg-ocaml-maint-commits
mailing list