[DRE-commits] [ruby-health-check] 02/02: make lintian clean
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Jun 1 10:14:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-health-check.
commit cd9f64303c5cc21286d7931a2f67bfd808d6d338
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Jun 1 15:39:31 2016 +0530
make lintian clean
---
debian/changelog | 6 ++--
debian/control | 7 +++--
debian/copyright | 45 +++++++++++++-----------------
debian/patches/remove-git-in-gemspec.patch | 19 +++++++++++++
debian/patches/series | 1 +
debian/ruby-tests.rake | 6 ----
6 files changed, 47 insertions(+), 37 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4cb67b6..e7530fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-health-check (1.5.1-1) UNRELEASED; urgency=medium
+ruby-health-check (1.5.1-1) unstable; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #826001)
- -- Pirate Praveen <praveen at debian.org> Wed, 01 Jun 2016 15:36:52 +0530
+ -- Pirate Praveen <praveen at debian.org> Wed, 01 Jun 2016 15:39:19 +0530
diff --git a/debian/control b/debian/control
index 7947a24..934e016 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 9~),
gem2deb,
rake,
ruby-rails (>= 2.3.0)
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-health-check.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-health-check.git
Homepage: https://github.com/ianheggie/health_check
@@ -21,5 +21,6 @@ Depends: ruby | ruby-interpreter,
ruby-rails (>= 2.3.0),
${misc:Depends},
${shlibs:Depends}
-Description: Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic, EngineYard or uptime.openacs.org etc.
- Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic, EngineYard or uptime.openacs.org etc.
+Description: Simple health check of Rails app for uptime monitoring
+ Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic,
+ EngineYard or uptime.openacs.org etc.
diff --git a/debian/copyright b/debian/copyright
index 4391a88..c6d732c 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: health_check
-Source: https://github.com/ianheggie/health_check
+Source: https://rubygems.org/gems/health_check
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010-2013 Ian Heggie
+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.
+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/remove-git-in-gemspec.patch b/debian/patches/remove-git-in-gemspec.patch
new file mode 100644
index 0000000..b0c4df7
--- /dev/null
+++ b/debian/patches/remove-git-in-gemspec.patch
@@ -0,0 +1,19 @@
+fix generating gemspec outside git
+
+Index: ruby-health-check-1.5.1/health_check.gemspec
+===================================================================
+--- ruby-health-check-1.5.1.orig/health_check.gemspec
++++ ruby-health-check-1.5.1/health_check.gemspec
+@@ -15,9 +15,9 @@ Gem::Specification.new do |gem|
+ EOF
+ gem.homepage = "https://github.com/ianheggie/health_check"
+
+- gem.files = `git ls-files`.split($/)
+- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
++ gem.files = ''
++ gem.executables = ''
++ gem.test_files = ''
+ gem.extra_rdoc_files = [ "README.rdoc" ]
+ gem.require_paths = ["lib"]
+ gem.add_dependency(%q<rails>, [">= 2.3.0"])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0a1e876
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-git-in-gemspec.patch
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 63f3fd6..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'gem2deb/rake/testtask'
-
-Gem2Deb::Rake::TestTask.new do |t|
- t.libs = ['test']
- t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
-end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-health-check.git
More information about the Pkg-ruby-extras-commits
mailing list