[DRE-commits] [ruby-fogbugz] 02/02: make lintian happy

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Dec 8 16:51:52 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-fogbugz.

commit b0886e338423c19f73f801107f5a48f5b0e64270
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Dec 8 22:18:44 2015 +0530

    make lintian happy
---
 debian/changelog                                  |  6 +--
 debian/control                                    |  6 ++-
 debian/copyright                                  | 45 ++++++++++-------------
 debian/patches/disable-codeclimate-reporter.patch | 12 ++++++
 debian/patches/series                             |  1 +
 debian/ruby-test-files.yaml                       |  4 --
 debian/ruby-tests.rake                            |  6 +++
 7 files changed, 47 insertions(+), 33 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f3c83c..a617c2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-fogbugz (0.2.1-1) UNRELEASED; urgency=medium
+ruby-fogbugz (0.2.1-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #807417)
 
- -- Pirate Praveen <praveen at debian.org>  Tue, 08 Dec 2015 22:15:31 +0530
+ -- Pirate Praveen <praveen at debian.org>  Tue, 08 Dec 2015 22:18:16 +0530
diff --git a/debian/control b/debian/control
index 2a95802..1050386 100644
--- a/debian/control
+++ b/debian/control
@@ -21,4 +21,8 @@ Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Ruby wrapper for the Fogbugz API
- A simple Ruby wrapper for the Fogbugz XML API
+ A simple Ruby wrapper for the Fogbugz XML API.
+ .
+ It won't give you fancy classes for everything, it'll simply aid you in
+ sending the API requests, parsing the returned XML finally retuning you a
+ Hash.
diff --git a/debian/copyright b/debian/copyright
index 575b757..a9fe35b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,30 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ruby-fogbugz
-Source: https://github.com/firmafon/ruby-fogbugz
+Source: https://rubygems.org/gems/ruby-fogbugz
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: Simon Hørup Eskildsen, Jared Szechy
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Pirate Praveen <praveen at debian.org>
-License: GPL-2+ (FIXME)
-Comment: the Debian packaging is licensed under the same terms as the original package.
+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/disable-codeclimate-reporter.patch b/debian/patches/disable-codeclimate-reporter.patch
new file mode 100644
index 0000000..5ff58dc
--- /dev/null
+++ b/debian/patches/disable-codeclimate-reporter.patch
@@ -0,0 +1,12 @@
+Index: ruby-fogbugz-0.2.1/test/test_helper.rb
+===================================================================
+--- ruby-fogbugz-0.2.1.orig/test/test_helper.rb
++++ ruby-fogbugz-0.2.1/test/test_helper.rb
+@@ -1,5 +1,5 @@
+-require 'codeclimate-test-reporter'
+-CodeClimate::TestReporter.start
++#require 'codeclimate-test-reporter'
++#CodeClimate::TestReporter.start
+ 
+ require 'rubygems'
+ gem 'minitest' # ensures you're using the gem, and not the built in MT
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c50c8f4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-codeclimate-reporter.patch
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 8020ddc..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- test/adapters/xml/crack_test.rb
-- test/interface_test.rb
-- test/test_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..4bf5f9e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] 
+end

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



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