[DRE-commits] [ruby-mail] 01/09: automatically remove reference/* documents from upstream for DFSG
Caitlin Matos
cm-guest at moszumanska.debian.org
Sat Jul 26 03:28:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
cm-guest pushed a commit to branch master
in repository ruby-mail.
commit baef762d0ecbd2583cc9bba7f194993370e8cd64
Author: Caitlin Matos <caitlin.matos at zoho.com>
Date: Wed Jul 23 21:13:59 2014 -0400
automatically remove reference/* documents from upstream for DFSG
Upstream bundles RFCs for reference. These are not DFSG-compliant. I am
using the new (and not well documented) Files-Excluded field in
d/copyright to remove these files from the upstream tarball on this and
future uploads.
---
debian/copyright | 3 +++
debian/watch | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/copyright b/debian/copyright
index a931c8f..6a808ee 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mail
Source: https://github.com/mikel/mail
+Files-Excluded: reference/*
+ Excluded files are RFC memos, which are not DFSG-compliant.
+ They are included upstream solely for reference purposes, and can be safely omitted.
Files: *
Copyright: (c) 2009, 2010, 2011, 2012
diff --git a/debian/watch b/debian/watch
index 888ffcd..e5d8978 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://githubredir.debian.net/github/mikel/mail/ (.*).tar.gz
+opts=dversionmangle=s/\+dfsg\d*//,uversionmangle=s/$/+dfsg1/ \
+ http://githubredir.debian.net/github/mikel/mail/ (.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mail.git
More information about the Pkg-ruby-extras-commits
mailing list