[Pkg-ocaml-maint-commits] r2043 - trunk/packages/syslog-ocaml/trunk/debian

Eric Cooper ecc-guest at costa.debian.org
Sun Nov 13 18:35:49 UTC 2005


Author: ecc-guest
Date: 2005-11-13 18:35:48 +0000 (Sun, 13 Nov 2005)
New Revision: 2043

Added:
   trunk/packages/syslog-ocaml/trunk/debian/control.in
Modified:
   trunk/packages/syslog-ocaml/trunk/debian/changelog
   trunk/packages/syslog-ocaml/trunk/debian/control
   trunk/packages/syslog-ocaml/trunk/debian/rules
Log:
added debian/control.in and a rule to generate debian/control from it


Modified: trunk/packages/syslog-ocaml/trunk/debian/changelog
===================================================================
--- trunk/packages/syslog-ocaml/trunk/debian/changelog	2005-11-13 14:38:22 UTC (rev 2042)
+++ trunk/packages/syslog-ocaml/trunk/debian/changelog	2005-11-13 18:35:48 UTC (rev 2043)
@@ -1,3 +1,9 @@
+syslog-ocaml (1.2-3) unstable; urgency=low
+
+  * Added debian/control.in and a rule to generate debian/control from it
+
+ -- Eric Cooper <ecc at cmu.edu>  Sun, 13 Nov 2005 13:32:25 -0500
+
 syslog-ocaml (1.2-2) unstable; urgency=low
 
   * Updated debian/control for ocaml version 3.09.0

Modified: trunk/packages/syslog-ocaml/trunk/debian/control
===================================================================
--- trunk/packages/syslog-ocaml/trunk/debian/control	2005-11-13 14:38:22 UTC (rev 2042)
+++ trunk/packages/syslog-ocaml/trunk/debian/control	2005-11-13 18:35:48 UTC (rev 2043)
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
 Uploaders: Sven Luther <luther at debian.org>
-Build-Depends: debhelper, dpatch, ocaml-nox-3.09.0, ocaml-tools, ocaml-findlib
+Build-Depends: debhelper, dpatch, ocaml-nox (>= 3.09.0), ocaml-tools, ocaml-findlib
 Standards-Version: 3.6.2
 
 Package: libsyslog-ocaml-dev
 Architecture: any
 Section: libdevel
-Depends: ocaml-nox-3.09.0
+Depends: ocaml-nox-${F:OCamlABI}
 Description: syslog routines for OCaml
  This library implements a syslog client in Objective Caml.

Added: trunk/packages/syslog-ocaml/trunk/debian/control.in
===================================================================
--- trunk/packages/syslog-ocaml/trunk/debian/control.in	2005-11-13 14:38:22 UTC (rev 2042)
+++ trunk/packages/syslog-ocaml/trunk/debian/control.in	2005-11-13 18:35:48 UTC (rev 2043)
@@ -0,0 +1,14 @@
+Source: syslog-ocaml
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Sven Luther <luther at debian.org>
+Build-Depends: debhelper, dpatch, ocaml-nox (>= @OCamlABI@), ocaml-tools, ocaml-findlib
+Standards-Version: 3.6.2
+
+Package: libsyslog-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}
+Description: syslog routines for OCaml
+ This library implements a syslog client in Objective Caml.

Modified: trunk/packages/syslog-ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/syslog-ocaml/trunk/debian/rules	2005-11-13 14:38:22 UTC (rev 2042)
+++ trunk/packages/syslog-ocaml/trunk/debian/rules	2005-11-13 18:35:48 UTC (rev 2043)
@@ -2,6 +2,11 @@
 
 include /usr/share/dpatch/dpatch.make
 
+OCAMLABI = $(shell ocamlc -version)
+
+debian/control:
+	sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $@.in > $@
+
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
@@ -56,7 +61,7 @@
 #	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums
 	dh_builddeb
 




More information about the Pkg-ocaml-maint-commits mailing list