[DRE-commits] [gem2deb] 01/01: use homepage as default for Source: field in debian/copyright

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Aug 13 18:47:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit c7ca79edef8e74326eb056de9844583fd725b400
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Aug 13 15:47:30 2015 -0300

    use homepage as default for Source: field in debian/copyright
---
 debian/changelog                                   | 1 +
 lib/gem2deb/dh_make_ruby/template/debian/copyright | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9849b6f..4e177bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ gem2deb (0.21) UNRELEASED; urgency=medium
     - use debhelper compatibility level 9 by default
     - don't generate debian/tests/control.ex anymore. So far a few dozen
       packages, I have deleted it every single time.
+    - use homepage as default for Source: field in debian/copyright
   * gem2deb-test-runner: call `gem list` when dependency checking fails to
     ease debugging
 
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/copyright b/lib/gem2deb/dh_make_ruby/template/debian/copyright
index b8bf6c7..29a7b6c 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/copyright
+++ b/lib/gem2deb/dh_make_ruby/template/debian/copyright
@@ -1,6 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: <%= gem_name %>
-Source: FIXME <http://example.com/>
+Source: <%= homepage ? homepage : 'FIXME'%>
 
 Files: *
 Copyright: <years> <put author's name and email here>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list