[Pkg-ocaml-maint-commits] [SCM] oasis2debian project branch, master, updated. e4b433010fd297f19fb02e6deca06a3ee0dac3a1

Sylvain Le Gall gildor at debian.org
Mon Mar 25 00:25:53 UTC 2013


The following commit has been merged in the master branch:
commit 8013f77de308b64893b659301423f7da7e334c5b
Author: Sylvain Le Gall <gildor at 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



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