Package: planets Version: 0.1.12-5 Severity: wishlist Tags: patch Hi,
the attached patch makes planet determine the needed dependency on ocaml-base at build time, instead of hardcoding it in the package. This solution makes the package easier to rebuild (no source changes needed) in case of an ocaml transition or as a backport. Anyway, planets is uninstallable at the moment and needs a rebuild with ocaml 3.09.1. Cheers, Julien Cristau -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13 Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
diff -u planets-0.1.12/debian/control planets-0.1.12/debian/control --- planets-0.1.12/debian/control +++ planets-0.1.12/debian/control @@ -2,12 +2,12 @@ Section: science Priority: extra Maintainer: Martin Pitt <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>> 4.0.0), ocaml-3.09.0, tk8.4-dev +Build-Depends-Indep: debhelper (>> 4.0.0), ocaml, tk8.4-dev Standards-Version: 3.6.1 Package: planets Architecture: all -Depends: tk8.4, ocaml-base-3.09.0 +Depends: tk8.4, ocaml-base-${OCamlABI} Suggests: doc-base Description: Gravitation simulation of planetary bodies Planets is a simple interactive program for playing with simulations diff -u planets-0.1.12/debian/rules planets-0.1.12/debian/rules --- planets-0.1.12/debian/rules +++ planets-0.1.12/debian/rules @@ -7,6 +7,8 @@ MAKEOPTS:=DEBUGFLAGS=-g endif +OCAMLABI = $(shell ocamlc -version) + build: dh_testdir $(MAKE) $(MAKEOPTS) planets.bc @@ -35,7 +37,7 @@ dh_compress dh_fixperms dh_installdeb - dh_gencontrol + dh_gencontrol -- -VOCamlABI=$(OCAMLABI) dh_md5sums dh_builddeb