[DRE-commits] [ruby-ffi-yajl] 05/06: review all autogenerated packaging

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 16:08:25 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-ffi-yajl.

commit e4a7be7e4f7edc603b8a36deb2183ec90a6cced5
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 13 13:01:21 2015 -0300

    review all autogenerated packaging
---
 debian/changelog          |  4 ++--
 debian/control            |  5 ++++-
 debian/copyright          | 47 +++++++++++++++++++++++------------------------
 debian/ruby-ffi-yajl.docs |  3 +--
 debian/rules              | 21 +++++++--------------
 debian/tests/control.ex   | 13 -------------
 6 files changed, 37 insertions(+), 56 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 09a023c..0415635 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-ruby-ffi-yajl (2.2.0-1) UNRELEASED; urgency=medium
+ruby-ffi-yajl (2.2.0-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release
   * debian/patches/0001-Use-the-system-libyajl2.patch: use the packaged
     libyajl2, both during build, and at runtime.
 
diff --git a/debian/control b/debian/control
index 4031221..1f45e53 100644
--- a/debian/control
+++ b/debian/control
@@ -23,4 +23,7 @@ Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Ruby FFI wrapper around YAJL 2.x
- Ruby FFI wrapper around YAJL 2.x
+ ffi-yajl is a Ruby adapter for the yajl JSON parser/generator library.  It
+ supports multiple Ruby C extension mechanisms, including both MRI native
+ extensions and FFI in order to be compatible with as many Ruby implementations
+ as possible while providing good performance where possible.
diff --git a/debian/copyright b/debian/copyright
index 80506b3..e017f45 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,34 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ffi-yajl
-Source: FIXME <http://example.com/>
+Source: http://github.com/chef/ffi-yajl
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: (c) 2015 Lamont Granquist
+           (c) 2015 Chef Software, Inc.
+           (c) 2008-2011 Brian Lopez - http://github.com/brianmario
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Antonio Terceiro <terceiro at debian.org>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-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/ruby-ffi-yajl.docs b/debian/ruby-ffi-yajl.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-ffi-yajl.docs
+++ b/debian/ruby-ffi-yajl.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/rules b/debian/rules
index 57b4299..1caa6d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,11 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
-#
-# Uncomment to check dependencies during build:
-# export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	# included binary is not useful on end user systems
+	$(RM) -r debian/ruby-ffi-yajl/usr/bin
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index d604201..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# AUTOGENERATED FILE
-#
-# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
-# detected, and if debian/tests/control does not exist the contents below will
-# be assumed (with the exception of gem2deb being filtered out from
-# @builddeps@):
-
-Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
-
-# if you would need to change something to the above, to that and rename this
-# file to `control`. Otherwise, you should probably delete this file
-# (recommended).

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



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