The following commit has been merged in the master branch:
commit b61f7ff7375729984cf1f78cec929981d8b22f80
Author: Hendrik Tews <hend...@askra.de>
Date:   Tue Jan 31 13:05:01 2012 +0100

    * hints from Stephane 2012-01-30

diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index 5114582..855ad0f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Uploaders:
  St├ęphane Glondu <glo...@debian.org>,
  Hendrik Tews <hend...@askra.de>
 Build-Depends:
+ ocaml-nox (>= 3.11.1-3~),
  ocaml-best-compilers,
  debhelper (>= 7.0.50~),
  dh-ocaml (>= 0.9~),
@@ -21,8 +22,8 @@ Vcs-Browser: 
http://git.debian.org/?p=pkg-ocaml-maint/packages/otags.git
 Package: otags
 Architecture: any
 Depends:
- camlp4-extra (>= 3.12.1),
- camlp4-extra (<< 3.13),
+ camlp4-extra,
+ ocaml-base-nox-${F:OCamlABI},
  ${ocaml:Depends},
  ${shlibs:Depends},
  ${misc:Depends}
diff --git a/debian/prerm b/debian/prerm
index c82a87d..1d3e65e 100755
--- a/debian/prerm
+++ b/debian/prerm
@@ -6,14 +6,7 @@
 set -e
 
 case "$1" in
-  remove)
-    rm -f /var/lib/otags/vi/TAGS
-    rm -f /var/lib/otags/emacs/TAGS
-    rm -f /var/lib/otags/TAGS
-    rm -f /var/lib/otags/tags
-  ;;
-
-  upgrade)
+  remove|upgrade)
     rm -f /var/lib/otags/vi/TAGS
     rm -f /var/lib/otags/emacs/TAGS
     rm -f /var/lib/otags/TAGS
diff --git a/debian/rules b/debian/rules
index 059628d..fa5574a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,16 @@
 export DH_VERBOSE=1
 
 %:
-       dh --with ocaml $@ 
+       dh --with ocaml $@
 
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
        ./configure --prefix /usr
 
+.PHONY override_dh_gencontrol
+override_dh_gencontrol:
+       dh_gencontrol -i -- -VF:OCamlABI="$(OCAMLABI)"
+
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
        @echo "   dh_auto_test disabled"
diff --git a/debian/watch b/debian/watch
index cf9b592..973bb50 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
-# try uscan(1) 
+# try uscan(1)
 
 # Compulsory line, this is a version 3 file
 version=3

-- 
otags packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to