[DRE-commits] [ruby-minitest-stub-const] 02/03: tune package
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Apr 10 11:52:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-minitest-stub-const.
commit ee69d05852b4f3d403bf2b87e3f1aefc373e2375
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Apr 10 17:08:30 2015 +0530
tune package
---
debian/changelog | 4 +--
debian/control | 5 +++-
debian/copyright | 48 ++++++++++++++++-------------------
debian/patches/require-minitest.patch | 15 +++++++++++
debian/patches/series | 1 +
5 files changed, 44 insertions(+), 29 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 74cefa8..56d447f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
ruby-minitest-stub-const (0.4-1) UNRELEASED; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #782312)
- -- Pirate Praveen <praveen at debian.org> Fri, 10 Apr 2015 17:00:53 +0530
+ -- Pirate Praveen <praveen at debian.org> Fri, 10 Apr 2015 12:35:57 +0530
diff --git a/debian/control b/debian/control
index fb09ad2..5de9806 100644
--- a/debian/control
+++ b/debian/control
@@ -16,4 +16,7 @@ Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
Description: Stub constants for the duration of a block in MiniTest
- <insert long description, indented with spaces>
+ Like RSpec's stub_const, but boring and non-magical.
+ .
+ Learn more about its usage at
+ /usr/share/doc/ruby-minitest-stub-const/README.md.gz
diff --git a/debian/copyright b/debian/copyright
index 0de123b..c16f488 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: minitest-stub-const
-Source: FIXME <http://example.com/>
+Source: https://github.com/adammck/minitest-stub-const
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012 Adam Mckaig
+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.
+Copyright: 2015 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/require-minitest.patch b/debian/patches/require-minitest.patch
new file mode 100644
index 0000000..d3b2974
--- /dev/null
+++ b/debian/patches/require-minitest.patch
@@ -0,0 +1,15 @@
+Description: add explicit require for minitest
+Forwarded: yes, https://github.com/adammck/minitest-stub-const/issues/7
+Author: Pirate Praveen <praveen at debian.org>
+
+Index: ruby-minitest-stub-const-0.4/test/test_stub_const.rb
+===================================================================
+--- ruby-minitest-stub-const-0.4.orig/test/test_stub_const.rb
++++ ruby-minitest-stub-const-0.4/test/test_stub_const.rb
+@@ -1,5 +1,6 @@
+ require File.expand_path('../../lib/minitest/stub_const', __FILE__)
+ require 'minitest/mock'
++require 'minitest/autorun'
+
+ module A
+ module B
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c85b069
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+require-minitest.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-minitest-stub-const.git
More information about the Pkg-ruby-extras-commits
mailing list