[Pkg-ocaml-maint-commits] r2212 - trunk/packages/ocaml-fileutils/trunk/debian

Sylvain LE GALL gildor-guest at costa.debian.org
Fri Dec 2 21:56:53 UTC 2005


Author: gildor-guest
Date: 2005-12-02 21:56:52 +0000 (Fri, 02 Dec 2005)
New Revision: 2212

Added:
   trunk/packages/ocaml-fileutils/trunk/debian/control.in
Modified:
   trunk/packages/ocaml-fileutils/trunk/debian/changelog
   trunk/packages/ocaml-fileutils/trunk/debian/control
   trunk/packages/ocaml-fileutils/trunk/debian/rules
Log:
Prepare release -- SLG


Modified: trunk/packages/ocaml-fileutils/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml-fileutils/trunk/debian/changelog	2005-12-02 21:49:58 UTC (rev 2211)
+++ trunk/packages/ocaml-fileutils/trunk/debian/changelog	2005-12-02 21:56:52 UTC (rev 2212)
@@ -2,8 +2,9 @@
 
   * Remove direct reference to ocaml library dir
   * Change FSF address in debian/copyright
+  * Remove hardcoded OCaml ABI
 
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Wed,  9 Nov 2005 17:03:45 +0100
+ -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Fri,  2 Dec 2005 22:54:38 +0100
 
 ocaml-fileutils (0.3.0-6) unstable; urgency=low
 

Modified: trunk/packages/ocaml-fileutils/trunk/debian/control
===================================================================
--- trunk/packages/ocaml-fileutils/trunk/debian/control	2005-12-02 21:49:58 UTC (rev 2211)
+++ trunk/packages/ocaml-fileutils/trunk/debian/control	2005-12-02 21:56:52 UTC (rev 2212)
@@ -2,12 +2,12 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org> 
-Build-Depends: ocaml-nox-3.08.3, debhelper (>> 4.0.0), ocaml-findlib, dpatch
+Build-Depends: ocaml-nox (>= 3.09.0), debhelper (>> 4.0.0), ocaml-findlib, dpatch
 Standards-Version: 3.6.2
 
 Package: libfileutils-ocaml-dev
 Architecture: any
-Depends: ocaml-nox-3.08.3
+Depends: ocaml-nox-${F:OCamlABI}
 Description: File manipulation for OCaml
  This library provides some functions which operate on the file system
  for the Objective Caml (OCaml) programming language.

Copied: trunk/packages/ocaml-fileutils/trunk/debian/control.in (from rev 2188, trunk/packages/ocaml-fileutils/trunk/debian/control)
===================================================================
--- trunk/packages/ocaml-fileutils/trunk/debian/control	2005-11-29 22:29:10 UTC (rev 2188)
+++ trunk/packages/ocaml-fileutils/trunk/debian/control.in	2005-12-02 21:56:52 UTC (rev 2212)
@@ -0,0 +1,26 @@
+Source: ocaml-fileutils
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org> 
+Build-Depends: ocaml-nox (>= #OCamlABI#), debhelper (>> 4.0.0), ocaml-findlib, dpatch
+Standards-Version: 3.6.2
+
+Package: libfileutils-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}
+Description: File manipulation for OCaml
+ This library provides some functions which operate on the file system
+ for the Objective Caml (OCaml) programming language.
+ The aim is to enhance the basic functionality provided by the 
+ Ocaml Standard Filename library.
+ It provides functions for manipulating filenames: 
+  - make_relative : make a filename relative to a root
+  - make_absolute : make an absolute filename
+  - reduce : remove any a/./b a/../b
+ .
+ It also provides functions, written in pure OCaml, for manipulating files:
+  - mv
+  - cp
+  - mkdir
+  - ...
+

Modified: trunk/packages/ocaml-fileutils/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml-fileutils/trunk/debian/rules	2005-12-02 21:49:58 UTC (rev 2211)
+++ trunk/packages/ocaml-fileutils/trunk/debian/rules	2005-12-02 21:56:52 UTC (rev 2212)
@@ -1,10 +1,14 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpatch/dpatch.make 
+
 OCAMLIBDIR=`ocamlc -where`
 DESTDIR_DEV=$(CURDIR)/debian/libfileutils-ocaml-dev/
+OCAMLABI=$(shell ocamlc -version)
 
-include /usr/share/dpatch/dpatch.make 
-
+debian/control: debian/control.in
+	 sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+	
 configure: configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
@@ -61,7 +65,7 @@
 	dh_fixperms -a
 	dh_installdeb -a
 	dh_shlibdeps -a
-	dh_gencontrol -a
+	dh_gencontrol -a -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums -a
 	dh_builddeb -a
 




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