[DRE-commits] [ruby-pg] 02/06: add 0002-fix-license-gemspec.patch to provide a correct license in the gemspecs

Cédric Boutillier boutil at moszumanska.debian.org
Thu Aug 21 11:04:52 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-pg.

commit a81b700ad3e364d0dcee371274161442b6a00251
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Aug 21 12:21:41 2014 +0200

    add 0002-fix-license-gemspec.patch to provide a correct license in the gemspecs
---
 debian/changelog                              |  2 ++
 debian/patches/0002-fix-license-gemspec.patch | 16 ++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 67d0bfa..a13d157 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ ruby-pg (0.17.1-2) UNRELEASED; urgency=medium
     source (Closes: #758601)
     - remove obsolete gemspec file in debian/
     - use upstream Rakefile to generate the gemspecs
+    - add 0002-fix-license-gemspec.patch to provide a correct license in the
+      gemspecs
 
  -- Cédric Boutillier <boutil at debian.org>  Thu, 21 Aug 2014 11:49:38 +0200
 
diff --git a/debian/patches/0002-fix-license-gemspec.patch b/debian/patches/0002-fix-license-gemspec.patch
new file mode 100644
index 0000000..1188479
--- /dev/null
+++ b/debian/patches/0002-fix-license-gemspec.patch
@@ -0,0 +1,16 @@
+Description: add an explicit license in the gemspec
+ The upstream project uses a BSD license, whereas the Hoe default is MIT
+Origin: upstream, https://bitbucket.org/ged/ruby-pg/commits/c9108c846ab20f61e2a0d54d157c58f8fff52869
+Reviewed-by: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-08-21
+
+--- a/Rakefile
++++ b/Rakefile
+@@ -48,6 +48,7 @@
+ 
+ # Hoe specification
+ $hoespec = Hoe.spec 'pg' do
++	self.license :BSD
+ 	self.readme_file = 'README.rdoc'
+ 	self.history_file = 'History.rdoc'
+ 	self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ]
diff --git a/debian/patches/series b/debian/patches/series
index 26018cd..bd9f667 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0002-fix-license-gemspec.patch
 0001-do-not-set-rpath.patch

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



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