[DRE-commits] [ruby-webfinger] 02/02: make lintian happy
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jul 2 23:33:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-webfinger.
commit fc8336925211df9c9ca15e6635e39d37344f5c1e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Jul 3 04:58:13 2016 +0530
make lintian happy
---
debian/changelog | 6 ++--
debian/control | 12 +++++---
debian/copyright | 48 ++++++++++++++-----------------
debian/patches/001-remove-simplecov.patch | 24 ++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 +++
6 files changed, 62 insertions(+), 33 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3a96c74..d986db4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-webfinger (1.0.2-1) UNRELEASED; urgency=medium
+ruby-webfinger (1.0.2-1) unstable; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #829376)
- -- Pirate Praveen <praveen at debian.org> Sun, 03 Jul 2016 01:45:20 +0530
+ -- Pirate Praveen <praveen at debian.org> Sun, 03 Jul 2016 04:57:39 +0530
diff --git a/debian/control b/debian/control
index 3ce7617..58755f6 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,10 @@ Build-Depends: debhelper (>= 9~),
ruby-activesupport,
ruby-httpclient (>= 2.4),
ruby-multi-json,
- ruby-rspec
-Standards-Version: 3.9.7
+ ruby-rspec,
+ ruby-rspec-its,
+ ruby-webmock
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-webfinger.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-webfinger.git
Homepage: https://github.com/nov/webfinger
@@ -26,5 +28,7 @@ Depends: ruby | ruby-interpreter,
ruby-multi-json,
${misc:Depends},
${shlibs:Depends}
-Description: Ruby WebFinger client library, following IETF WebFinger WG spec updates.
- Ruby WebFinger client library
+Description: Ruby WebFinger client library
+ Ruby WebFinger client library, following IETF WebFinger WG spec updates.
+ .
+ WebFinger is the core of OpenID Connect Discovery.
diff --git a/debian/copyright b/debian/copyright
index 9b73c35..2e8ed6e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: webfinger
-Source: https://github.com/nov/webfinger
+Source: http://rubygems.org/gems/webfinger
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012 nov matake
+License: Expat
Files: debian/*
-Copyright: 2016 Pirate Praveen <praveen at debian.org>
-License: GPL-2+ (FIXME)
-Comment: the Debian packaging is licensed under the same terms as the original package.
+Copyright: 2016 Praveen Arimbrathodiyil <praveen at debian.org>
+License: Expat
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
.
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See the GNU General Public License for more
- details.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
.
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA 02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/patches/001-remove-simplecov.patch b/debian/patches/001-remove-simplecov.patch
new file mode 100644
index 0000000..2d458ea
--- /dev/null
+++ b/debian/patches/001-remove-simplecov.patch
@@ -0,0 +1,24 @@
+Index: ruby-webfinger/spec/spec_helper.rb
+===================================================================
+--- ruby-webfinger.orig/spec/spec_helper.rb
++++ ruby-webfinger/spec/spec_helper.rb
+@@ -1,8 +1,8 @@
+-require 'simplecov'
++#require 'simplecov'
+
+-SimpleCov.start do
+- add_filter 'spec'
+-end
++#SimpleCov.start do
++# add_filter 'spec'
++#end
+
+ require 'rspec'
+ require 'rspec/its'
+@@ -14,4 +14,4 @@ RSpec.configure do |config|
+ end
+ end
+
+-require 'helpers/webmock_helper'
+\ No newline at end of file
++require 'helpers/webmock_helper'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..700d688
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001-remove-simplecov.patch
diff --git a/debian/rules b/debian/rules
index 3454d59..fe9c44e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@ export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
dh $@ --buildsystem=ruby --with ruby
+
+clean:
+ dh clean --buildsystem=ruby --with ruby
+ rm -rf coverage
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-webfinger.git
More information about the Pkg-ruby-extras-commits
mailing list