[Pkg-ocaml-maint-commits] [SCM] ocamlodbc packaging branch, master, updated. debian/2.15-5

Sylvain Le Gall gildor at debian.org
Sat Dec 19 23:29:58 UTC 2009


The following commit has been merged in the master branch:
commit 6d75172d390d9b8cc04b63a83436131420a684f2
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Sat Dec 19 23:29:17 2009 +0000

    dh-ocaml transition
    
    * Use dh-ocaml 0.9.1 features
    * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source, Homepage
      field)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..fc98b3d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,38 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
+10 Aug 2008.
diff --git a/debian/changelog b/debian/changelog
index 185619c..7108ee0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ocamlodbc (2.15-5) unstable; urgency=low
+
+  * Use dh-ocaml 0.9.1 features
+  * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source, Homepage
+    field)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Sat, 19 Dec 2009 23:29:03 +0000
+
 ocamlodbc (2.15-4) unstable; urgency=low
 
   * Rebuild with OCaml 3.11.
diff --git a/debian/control b/debian/control
index 67d8c97..1f61ad9 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,18 @@
 Source: ocamlodbc
-Section: devel
+Section: ocaml
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
-Uploaders: Samuel Mimram <smimram at debian.org>, Stefano Zacchiroli <zack at debian.org>
-Build-Depends: debhelper (>= 7), unixodbc-dev, unixodbc-bin, dh-ocaml, ocaml-nox (>= 3.11), ocaml-findlib (>= 1.2.4), liblablgtk2-ocaml-dev (>= 2.12.0), dpatch
-Standards-Version: 3.8.0
+Uploaders: Samuel Mimram <smimram at debian.org>, Stefano Zacchiroli <zack at debian.org>, Sylvain Le Gall <gildor at debian.org>
+Build-Depends: debhelper (>= 7), unixodbc-dev, unixodbc-bin, dh-ocaml (>= 0.9.1), ocaml-nox (>= 3.11), ocaml-findlib (>= 1.2.4), liblablgtk2-ocaml-dev (>= 2.12.0), dpatch
+Standards-Version: 3.8.3
+Homepage: http://download.gna.org/ocamlodbc/
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocamlodbc.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocamlodbc.git
 
 Package: libocamlodbc-ocaml-dev
-Section: libdevel
 Architecture: any
-Depends: ocaml-nox-${F:OCamlABI}, unixodbc-dev
+Depends: ${ocaml:Depends}, unixodbc-dev
+Provides: ${ocaml:Provides}
 Description: UnixODBC database bindings for OCaml
  Bindings of the UnixODBC library for the OCaml language, letting you access
  many different databases from within OCaml.
diff --git a/debian/rules b/debian/rules
index e7a4d46..414de02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,7 +85,8 @@ binary-arch: build install
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol -- -VF:OCamlABI="$(OCAML_ABI)"
+	dh_ocaml
+	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 

-- 
ocamlodbc packaging



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