The following commit has been merged in the master branch:
commit 8013f77de308b64893b659301423f7da7e334c5b
Author: Sylvain Le Gall <gil...@debian.org>
Date:   Mon Mar 25 01:22:19 2013 +0100

    Use t.uploader rather than doing the same guess for author in Changelog.

diff --git a/src/Changelog.ml b/src/Changelog.ml
index 10a619d..c0eff8d 100644
--- a/src/Changelog.ml
+++ b/src/Changelog.ml
@@ -28,15 +28,6 @@ let create ~ctxt t =
     else
       ""
   in
-  let author =
-    try
-      Printf.sprintf "%s <%s>"
-        (Sys.getenv "DEBFULLNAME")
-        (Sys.getenv "DEBEMAIL")
-    with Not_found ->
-      failwith 
-        "Set author using DEBFULLNAME and DEBEMAIL environment variables."
-  in
     debian_with_fn 
       "changelog"
       (output_content
@@ -46,6 +37,6 @@ $t.pkg.name ($pkg_version-1) $distribution; urgency=low
   * Initial release.$closes
   * Generated with oasis2debian v${Version.ver}.
 
- -- $author  ${date}"))
+ -- $t.uploader  ${date}"))
 
 

-- 
oasis2debian project

_______________________________________________
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